R (programming language): Difference between revisions

Content deleted Content added
Structure of a function: Clarified comments in the example code
m CE
Line 283:
f <- function(x, y) 3 * x + 4 * y</syntaxhighlight>
 
The following is some output from using the function defined above:
Usage output:
<syntaxhighlight lang="rout">
> f(1, 2) # 3 * 1 + 4 * 2 = 3 + 8