Recommended R functions: Difference between revisions
Jump to navigation
Jump to search
m (→Answer) |
mNo edit summary |
||
Line 60: | Line 60: | ||
* [[R-tools]] | * [[R-tools]] | ||
* [[A Tutorial on R]] | * [[A Tutorial on R]] | ||
* [[List of R functions]] | |||
==References== | ==References== |
Revision as of 06:15, 22 August 2011
Moderator:Jouni (see all) |
This page is a stub. You may improve it into a full page. |
Upload data
|
Recommended R functions describes good practices for writing R code. The code should be short, straightforward to understand, efficient to run, and similar to everyone else's code.
Question
What are good practices for writing R code? The code should be short, straightforward to understand, efficient to run, and similar to everyone else's code.
Answer
data.frame
ggplot2
tapply
merge
rbind
cbind
reshape
op_baseGetData
op_baseGetLocs
op_baseWrite
slicing R objects
This is not a function but rather a list of practical ways of slicing an object.
match
ifelse
is.na
colnames
as.numeric
as.character
as.data.frame
as.table
Rationale
Based on experience and testing.
See also
References
Related files
<mfanonymousfilelist></mfanonymousfilelist>