Reset a RandomEffectsModel
object based on the parameters indexed by sample_num
in a RandomEffectsSamples
object
resetRandomEffectsModel.Rd
Reset a RandomEffectsModel
object based on the parameters indexed by sample_num
in a RandomEffectsSamples
object
Arguments
- rfx_model
Object of type
RandomEffectsModel
.- rfx_samples
Object of type
RandomEffectSamples
.- sample_num
Index of sample stored in
rfx_samples
from which to reset the state of a random effects model. Zero-indexed, so resetting based on the first sample would require settingsample_num = 0
.- sigma_alpha_init
Initial value of the "working parameter" scale parameter.