bydf: By: For Data Frames and Vectors

Description Usage Details

Description

Wrapper functions for by().

Usage

1
2
3

Details

bydf converts the output to a data frame. It should only be used if the output of FUN is a length-1 vector. Creates a data frame with 1 column per index, plus a 'Freq' column that is the output of FUN.

byvector converts the output to a vector. This is likely useful when calling 'by' with only 1 index and when the output of FUN is always the same length.


mnblonsky/REMI documentation built on May 23, 2019, 5:06 a.m.