147Pm

1 R PROGRAMMING

1.1 Testing 1-2-3

1.1.1 Simple Average (2017-04-02T11:37:00)

myfunction <- function() {
	x <- rnorm(100)
	mean(x)
}
mysecondfunction <- function(x) {
	x + rnorm(length(x))
}
mysecondfunction(5);
4.64826087615392
ls();
  • myfunction
  • mysecondfunction
  • old
Name Value
Alex 22
Anish 22
Becca 23
Jasdev 22
John 21
Jonathon 21
Kelvin 22
Marisa 19
Shiv 22
Vinay 22

Date:
2017-02-08T14:26:12
Author:
147Pm
Created:
2017-04-02 Sun 23:08