To perform data analysis in R, follow these steps:
read.csv()
, read.table()
, or read_excel()
from the readxl
package.main.r266 chars11 lines
str()
, summary()
, and head()
.main.r146 chars9 lines
subset()
, merge()
, and reshape2::melt()
.main.r452 chars11 lines
cor()
, t.test()
, and lm()
.main.r251 chars10 lines
ggplot2
and other plotting libraries to gain insights and communicate your findings.main.r314 chars13 lines
These are just a few of the many functions and techniques available in R for data analysis. Good luck!
gistlibby LogSnag