coef_ran.bpnme {bpnreg} | R Documentation |
Obtain random effect variances of a Bayesian circular mixed-effects model
Description
Gives posterior summaries of the circular or linear random effect variances. The circular random intercept variance and circular random slope variance of categorical predictors is computed as 1 - mean resultant length.
Usage
## S3 method for class 'bpnme'
coef_ran(object, type = "linear")
Arguments
object |
a |
type |
one of |
Value
A matrix with posterior summaries of the random effect variances.
Examples
library(bpnreg)
fit.Maps <- bpnme(pred.I = Error.rad ~ Maze + Trial.type + L.c + (1|Subject),
data = Maps,
its = 100, burn = 1, n.lag = 1)
coef_ran(fit.Maps)
coef_ran(fit.Maps, type = "circular")
[Package bpnreg version 2.0.3 Index]