LongitudinalRandomSlope
LongitudinalRandomSlope-class.Rd
This class extends the general LongitudinalModel
class for using the
random slope linear model for the longitudinal outcome.
Usage
LongitudinalRandomSlope(
intercept = prior_normal(30, 10),
slope_mu = prior_normal(1, 3),
slope_sigma = prior_lognormal(0, 1.5),
sigma = prior_lognormal(0, 1.5)
)
Arguments
- intercept
(
Prior
)
for theintercept
.- slope_mu
(
Prior
)
for the population slopeslope_mu
.- slope_sigma
(
Prior
)
for the random slope standard deviationslope_sigma
.- sigma
(
Prior
)
for the variance of the longitudinal valuessigma
.