Very brief introduction
This blog is devoted to my experience with R. I will especially focus on obscure R packages that I found interesting and useful.
Below I’m testing some features of my blog, like:
MathJax
\[y = x^2 + x\]Embedding and printing R code
library(dplyr)
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
dat <- data.frame(x = -100:100) %>%
mutate(y = x^2 + x)
head(dat)
## x y
## 1 -100 9900
## 2 -99 9702
## 3 -98 9506
## 4 -97 9312
## 5 -96 9120
## 6 -95 8930
Tables
kable(head(dat))
x | y |
---|---|
-100 | 9900 |
-99 | 9702 |
-98 | 9506 |
-97 | 9312 |
-96 | 9120 |
-95 | 8930 |
Figures
plot(dat, type = "l")