The R data.
What is the best way to assign to multiple columns using data.table? For example: f <- function(x) {…
r dataframe data.table variable-assignment colon-equalsWhat is the correct way to change the levels of a factor column in a data.table (note: not data …
r data.tableI have a data.table with fields {id, menuitem, amount}. This is transaction data - so, ids are unique, but …
r data.tableI have a large data.table, with many missing values scattered throughout its ~200k rows and 200 columns. I would like …
r performance dataframe data.tableI want to create a new column in a data.table calculated from the current value of one column and …
r data.tableEdit 2019: This question was asked prior to changes in data.table in November 2016, see the accepted answer below for both …
r duplicates data.tableI have a data.table: set.seed(1) data <- data.table(time = c(1:3, 1:4), groups = c(rep(c("b", "a"), …
r data.table plyr dplyrI wish to (1) group data by one variable (State), (2) within each group find the row of minimum value of another …
r dplyr data.table aggregateI have a data frame with about 200 columns, out of them I want to group the table by first 10 or …
r grouping aggregate plyr data.tableI'd like to reorder columns in my data.table x, given a character vector of column names, neworder: library(data.…
r data.table