add_ruv: Add residual variability to the dependent variable
Description
Add residual variability to the dependent variable
Usage
add_ruv(x, ruv = list(), obs_type = 1)
Value
Input vector with residual variability added
Arguments
- x
dependent value without residual variability
- ruv
list specifying proportional, additive and/or exponential errors (prop
, add
, exp
)
- obs_type
vector of observation types