Subgroup.RdSubgroup creates derived variables based on numeric variables. This is generally not used directly and is dynamically called from SubgroupManager
R6 class
dataA data set (data frame, tibble, etc.) to create subgroups from.
mappingA mapping (reactive list) for 'parameter', and 'parameter_value' variables
parameterThe parameter values (PARAM). If this is provided then parameter_value must be provided as well. Will only perform the analysis where parameter == parameter_value
parameter_valueSee the description for parameter
optionsThe options for the module of type reactiveValues with values
indexThe index of the subgroup that we are creating. If given, will include as the default name for the population "New subgroup: populationNumber"
subgroupFactor vector of the subgroup
subgroup_namename of the created subgroup
Other tidymodules:
Filter,
SubgroupManager,
SubpopulationManager,
Subpopulation,
TTEMapping,
TTE,
TableListing,
VariableSelection
tidymodules::TidyModule -> Subgroup
Inherited methods
new()Subgroup$new(...)
ui()Subgroup$ui()
server()Subgroup$server(input, output, session)
clone()The objects of this class are cloneable with this method.
Subgroup$clone(deep = FALSE)
deepWhether to make a deep clone.