filmov
tv
R programming for beginners - Creating Your Own Functions in R #rprogramming

Показать описание
R programming Section 4. Advanced data management. Lecture 7. Creating Your Own Functions in R.
The structure of a function in R:
myfunction = function(arg1, arg2, ... ){
statements
return(object)
}
Where the objects in the function are local to the function,
and the object returned can be any data type, from scalar to list,
#rprogramming
#rstudio
#function
#rdatacode
The structure of a function in R:
myfunction = function(arg1, arg2, ... ){
statements
return(object)
}
Where the objects in the function are local to the function,
and the object returned can be any data type, from scalar to list,
#rprogramming
#rstudio
#function
#rdatacode