cont_var {psborrow2} | R Documentation |
Create continuous covariate
Description
Create an object of class SimVarCont
to hold mean values of
of continuous variables specified in a simulation study.
Usage
cont_var(mu_internal, mu_external)
Arguments
mu_internal |
numeric. Mean covariate value for the internal arms. |
mu_external |
numeric. Mean covariate value for the external arm. |
Value
Object of class SimVarCont
.
See Also
Other simvar:
bin_var()
Examples
cv1 <- cont_var(0.5, 1)
cv2 <- cont_var(10, 10)
[Package psborrow2 version 0.0.3.4 Index]