View source: R/classfunctions.R
coef_ran.bpnme | R Documentation |
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.
## S3 method for class 'bpnme'
coef_ran(object, type = "linear")
object |
a |
type |
one of |
A matrix with posterior summaries of the random effect variances.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.