
Create GroupedFrequencyTable
GroupedFrequencyTable.RdUsing GroupConditions() object and source data.frame compute
a set of FrequencyTable()s for single variable
Arguments
- data
source
data.frame- conditions
up to two
GroupConditionsobjects. These objects will be passed along during creation of higher-level objects and used whennormalize_scores_grouped()will be called. If two objects are provided, then intersection of groups will be made.- var
name of variable to compute
GroupedFrequencyTablefor- force_disjoint
It is recommended to keep it as default
FALSE, unless the sample size is very big and it is completely mandatory to have the groups disjointed.- .all
should .all or .all1 and .all2 groups be generated. If they are not generated, all score normalization procedures will fail if the observation can't be assigned to any of the provided conditions (eg. because of missing data), leaving it's score as
NA. Defaults toTRUE- x
A
GroupedFrequencyTableobject- ...
further arguments passed to or from other methods.
- object
A
GroupedFrequencyTableobject