Ctrl Enter
1 + 1 |
> 1 + 1 [1] 2 |
1+1 20*5 (45*3)+3.7 2^2 pi (30/90)*100 |
> 1+1 [1] 2 > 20*5 [1] 100 > (45*3)+3.7 [1] 138.7 > 2^2 [1] 4 > pi [1] 3.141593 > (30/90)*100 [1] 33.33333 |
functions
that you use to manipulate and analyse your data. They are the equivalent to maths functions in Excel e.g. STDEV(), SUM(), MEAN()package
arguments
that are conditions for how you apply or run the function. All R functions follow the same format:Function_name(arg1, arg2, arg3...)
R has a wonderful help file to show you exactly how to use each function and argument....it even gives examples for you to work through.