Examine at least four different R functions.

R is an integrated software, and it consists of many packages. Within each package, there are functions that allow us to perform different tasks.

For instance, the function (x) gives a logical vector with value TRUE if x contains the element NA. An example code with output would be:

> data<-c(1,2,NA,4)

> (data)

[1] FALSE FALSE TRUE FALSE

Examine at least four different R functions. Your functions should be different from other students’ functions; so please check the discussion board before examining the functions. For each function, describe what it does and give an example code with an output.

Examine at least four different R functions.
Scroll to top