Split Function for Proportion Analysis Columns (TEFCGIS08 e.g.)
Source:R/proportions.R
prop_post_fun.Rd
Here we just split into 3 columns `n`, `
Usage
prop_post_fun(ret, spl, fulldf, .spl_context)
prop_split_fun(df, spl, vals = NULL, labels = NULL, trim = FALSE, .spl_context)
Arguments
- ret
(`list`)
return value from the previous split function.- spl
(`list`)
split information.- fulldf
(`data.frame`)
full data frame.- .spl_context
(`environment`)
split context environment.- df
A data frame that contains all analysis variables.
- vals
A character vector that contains values to use for the split.
- labels
A character vector that contains labels for the statistics (without indent).
- trim
A single logical that indicates whether to trim the values.