More Related Contents:
- Aggregate / summarize multiple variables per group (e.g. sum, mean)
- Fastest way to replace NAs in a large data.table
- Fastest way to add rows for missing time steps?
- Assign multiple columns using := in data.table, by group
- How to replace NA values in a table for selected columns
- Why is plyr so slow?
- Merge rows in a dataframe where the rows are disjoint and contain NAs
- Replace logical values (TRUE / FALSE) with numeric (1 / 0)
- Cleaning `Inf` values from an R dataframe
- write.csv for large data.table
- DT[!(x == .)] and DT[x != .] treat NA in x inconsistently
- Convert a data frame to a data.table without copy
- What you can do with a data.frame that you can’t with a data.table?
- Calculate the mean by group
- Apply a function to every specified column in a data.table and update by reference
- Convert row names into first column
- How do I extract a single column from a data.frame as a data.frame?
- Rename multiple columns by names
- Call apply-like function on each row of dataframe with multiple arguments from each row
- data.table join then add columns to existing data.frame without re-copy
- Converting a data frame to xts
- Interpolate NA values in a data frame with na.approx
- How to delete columns that contain ONLY NAs?
- Calculate multiple aggregations on several variables using lapply(.SD, …)
- How to sort a data frame by date
- from data table, randomly select one row per group
- How to change type of target column when doing := by group in a data.table in R?
- Randomly insert NAs into dataframe proportionaly
- R: Split unbalanced list in data.frame column
- Adding new column with conditional values using ifelse