The r-faq tag is created to group a limited number of questions discussing problems that come up regularly on the R tag.
I'm trying to make a heatmap using ggplot2 using the geom_tiles function here is my code below: p<…
r ggplot2 r-faqCan anyone tell me how to find the common elements from multiple vectors? a <- c(1,3,5,7,9) b <- …
r vector r-faqHow can I read an Excel file directly into R? Or should I first export the data to a text- …
excel r r-faqI'm curious to know if R can use its eval() function to perform calculations provided by e.g. a string. …
r eval r-faqLet's say I have the following data frame: > myvec name order_no 1 Amy 12 2 Jack 14 3 Jack 16 4 Dave 11 5 Amy 12 6 Jack 16 7 Tom 19 8 …
r dataframe distinct-values r-faqFrom a data frame, is there a easy way to aggregate (sum, mean, max et c) multiple variables simultaneously? Below …
r dataframe data.table aggregate r-faqCan anyone please tell me how to read only the first 6 months (7 columns) for each year of the data below, …
r import r-faq