3 years ago500+ Views
R is a programming language for statistics and data mining. It is used to develop statistical software and perform data analysis. Some statistical features include: - Linear/Non-linear modeling - Statistical testing - Time-series Analysis - Classification - Clustering You can also link C, C++, Java, .NET, or Python to manipulate R objects and allows for object-oriented programming -- Example of R Code -- x <- c(1,2,3) # Create vector y <- x^2 # Square the elements of x mean(y) # Calculate mean of (vector) y var(y) # Calculate sample variance lm_1 <- lm(y ~ x) # linear regression model plot(lm_1) # plot regression model -- IDE -- I recommend RStudio, found here: http://www.rstudio.com/ You can also use Eclipse if you already have that. -- Resources to Learn R -- http://tryr.codeschool.com/ http://swirlstats.com/ http://cran.r-project.org/doc/contrib/Faraway-PRA.pdf
2 Like
3 Share