f_weighted.aggrDat | R Documentation |
dataframe = dataframe to aggregate (new datafram will be created) groupVars = variables to aggregate at valueVar = variable to aggregate weightVar = weighting variable WideToLong = transfrom data to long format, so that statistics are in one column instead of spread over rows
f_weighted.aggrDat(
dataframe,
groupVars,
valueVar,
weightVar,
WideToLong = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.