SimVarBin-class: 'SimVarBin' class

SimVarBin-classR Documentation

SimVarBin class

Description

A constructor for making objects of class SimVarBin. Objects of class SimVarBin are used to hold proportions of binary variables specified in a simulation study.

Slots

prob_internal

numeric. Proportion for the internal arms.

prob_external

numeric. Proportion for the external arm.

mu_internal_before_bin

numeric. Mean value of covariate before binarization for the internal arms.

mu_external_before_bin

numeric. Mean value of covariate before binarization for the external arm.

printval_int

numeric. Value to print to summarize internal arms.

printval_ext

numeric. Value to print to summarize external arm.

type_string

character. 'binary'

See Also

Other simvar classes: SimVarCont-class


psborrow2 documentation built on April 4, 2025, 12:37 a.m.