R Code Typing Practice
60
seconds
0
WPM
100%
accuracy
geom_point() sd(x) while (condition) {} x = value seq(1, 10, by=2) read.csv("file.csv") rep(x, times=3) function(args) {} head(df) x <- value str(obj) list(a=1, b=2) summary(obj) install.packages("pkg") plot(x, y) ggplot(data, aes()) + glm(y ~ x, family) return(value) tail(df) c(1, 2, 3) if (condition) {} else {} geom_line() library(package) cor(x, y) anova(model) sapply(X, FUN) matrix(data, nrow, ncol) vector("numeric", 10) apply(X, MARGIN, FUN) array(data, dim) lapply(X, FUN) median(x) t.test(x, y) data.frame(x, y) for (i in 1:n) {} mean(x) lm(y ~ x, data) write.csv(df, "file.csv") 1:10 var(x) geom_point() sd(x) while (condition) {} x = value seq(1, 10, by=2) read.csv("file.csv") rep(x, times=3) function(args) {} head(df) x <- value str(obj) list(a=1, b=2) summary(obj) install.packages("pkg") plot(x, y) ggplot(data, aes()) + glm(y ~ x, family) return(value) tail(df) c(1, 2, 3)
Click the text area and start typing to begin
Practice typing R code for data analysis and statistics