1

Jun 15, 2015

Writing R Functions

R has a very easy way to make functions. In this post, we will learn some simple R functions.


Graphics in R

To do basic graphics in R, I would suggest to download ggplot2 package.

In this post, we will learn how to dowload package and create histograms, scatterplot, boxplots.








Reading file in R

The best way to read data from a csv file is using read.table.

Here in this example, I have shown how to read the online csv file and later show the top and bottom rows of data.




Related Post

Related Posts Plugin for WordPress, Blogger...