f_weighted.aggrDat: dataframe = dataframe to aggregate (new datafram will be...

View source: R/f_AggrDat.R

f_weighted.aggrDatR 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

Description

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

Usage

f_weighted.aggrDat(
  dataframe,
  groupVars,
  valueVar,
  weightVar,
  WideToLong = FALSE
)

ManuelaRunge/ranalysis documentation built on Dec. 7, 2024, 5:01 a.m.