Recommended R functions
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>