R/compVar.R

Defines functions compVar

Documented in compVar

# Extract the variance components of model

compVar <- function(object)
{
	if(!inherits(object, "Bayesthresh"))
		stop("Use an object of class Bayesthresh")
	return(object$compVar)
}

Try the Bayesthresh package in your browser

Any scripts or data that you put into this service are public.

Bayesthresh documentation built on May 30, 2017, 6:24 a.m.