List of R functions
This page is a encyclopedia article.
The page identifier is Op_en5140 |
|---|
| Moderator:Nobody (see all) Click here to sign up. |
| This page is a stub. You may improve it into a full page. |
| Upload data
|
This page contains listings of some R functions and commands by category.
Basics
| function name | functionality |
|---|---|
| c | "combine" elements to a vector |
| array | creates arrays |
| data.frame | creates data.frames |
| list | creates lists |
| mean | mean of the elements of the input vector |
| sd | standard deviation of the elements of the input vector |
| cor | correlation |
| quantile | quantiles |
| read.table | reads delimited text files |
| write.table | writes delimited text files |
| save | save R objects |
| load | load R objects |
| apply, tapply, lapply | functions for applying functions over set margins, apply is for arrays, tapply for data.frames and lapply for lists |
| merge | merges two data.frames, equivalent of SQL joins |
| order | sorts data by given factors, output is an indexing vector |
| library | loads packages |
Statistical tests
| function name | functionality |
|---|---|
| t.test | en:Student's t-test |
| aov | en:Analysis of variance |