Professional Documents
Culture Documents
R can be used for simple calculations, matrix calculations, differential equations, optimization ,
statistical analysis, plotting graphs, etc. Also, it is useful to anybody who wishes to undertake
extensive statistical computations and data visualization.
R programming
• Functions
• x! factorial(x)
• n
• x
• choose(n,x)
• Γ( ) x gamma(x)
• x e exp(x)
• Lnx log(x)
• X sqrt(x)
• n x x^n
R programming
• Statistics
• lines(x,y) adds line to existing plot, has same options for line types,
widths and colours.
• points(x,y) adds points to existing plot, has same options for points
character and colours.
• Plot y=a + bx