Learn R Programming

bpnreg (version 2.0.3)

coef_ran: Random effect variances

Description

coef_ran gives posterior summaries of the circular or linear random effect variances.

Usage

coef_ran(object, type = "linear")

Arguments

object

an object used to select a method.

type

one of c("linear", "circular") to get either the linear or circular random effect variances.

Details

the method coef_ran.bpnme has its own help page.

Examples

Run this code
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")


Run the code above in your browser using DataLab