The r-faq tag is created to group a limited number of questions discussing problems that come up regularly on the R tag.
In a dataset with multiple observations for each subject I want to take a subset with only the maximum data …
r dataframe r-faqI have the following data frame x <- read.table(text = " id1 id2 val1 val2 1 a x 1 9 2 a x 2 4 3 …
r aggregate r-faqI'm trying to transfer my understanding of plyr into dplyr, but I can't figure out how to group by multiple …
r dplyr r-faqI'm trying to create separate data.frame objects based on levels of a factor. So if I have: df <…
r dataframe r-faqIn a data.frame (or data.table), I would like to "fill forward" NAs with the closest previous non-NA value. …
r data.table zoo r-faqI'm fairly new to R and I made a type-o while entering some code and now instead of getting the "&…
r r-faqI am trying to use Rpy2 and ggplot2 but I get an error. After some searching for the error online, …
r installation version r-faqI have a big performance problem in R. I wrote a function that iterates over a data.frame object. It …
performance r loops rcpp r-faq