params: 'params' S3 object

Description Usage Arguments Value Examples

View source: R/params.R

Description

make a params object from the between-block parameter theta0 and a vector of within block parameters thetak

Usage

1
params(theta0, thetak)

Arguments

theta0

between block parameters - a vector of length 'dimension of theta'

thetak

within block parameters - a matrix with ncol=kappa and nrow=dimension of theta

Value

a params object

Examples

1
2
p <- params(0.1, c(0.2,0.4,0.5))
p

SBMSplitMerge documentation built on July 1, 2020, 5:23 p.m.