apply.shrink: Apply a function to a vector for a combination of categories.

Description Usage Arguments Value Note See Also

Description

Apply a function to a vector for a combination of categories.

Usage

1
apply.shrink(X, INDICES, FUN = NULL, names, ...)

Arguments

X

Input data to FUN

INDICES

list of categories to be combined

FUN

Function to be applied

names

Column names for the resulting dataframe

...

Additional arguments to FUN

Value

Dataframe of outcomes applying FUN to X for the combination of categories in INDICES

Note

Needs elaboration, or could be dropped/hidden, use merge instead.

See Also

apply.shrink.dataframe, merge


einarhjorleifsson/fjolst2 documentation built on May 16, 2019, 1:27 a.m.