Skip to contents

collapse provides the following functions for fast manipulation of (mostly) data frames.

Table of Functions

Function / S3 Generic Methods Description
fselect(<-)No methods, for data framesFast select or replace columns (non-standard evaluation)
get_vars(<-), num_vars(<-), cat_vars(<-), char_vars(<-), fact_vars(<-), logi_vars(<-), date_vars(<-)No methods, for data framesFast select or replace columns
add_vars(<-)No methods, for data framesFast add columns
rowbindNo methods, for lists of lists/data framesFast row-binding lists
joinNo methods, for data framesFast table joins
pivotNo methods, for data framesFast reshaping
fsubsetdefault, matrix, data.frame, pseries, pdata.frameFast subset data (non-standard evaluation)
ssNo methods, for data framesFast subset data frames
fslice(v)No methods, for matrices and data framesFast slicing of rows
fsummariseNo methods, for data framesFast data aggregation
fmutate, (f/set)transform(v)(<-)No methods, for data framesCompute, modify or delete columns (non-standard evaluation)
fcompute(v)No methods, for data framesCompute or modify columns, returned in a new data frame (non-standard evaluation)
roworder(v)No methods, for data frames incl. pdata.frameReorder rows and return data frame (standard and non-standard evaluation)
colorder(v)No methods, for data framesReorder columns and return data frame (standard and non-standard evaluation)
(f/set)rename, (set)relabelNo methods, for all objects with 'names' attributeRename and return object / relabel columns in a data frame.