simulateBatchData: Create simulated batch data for testing.

Description Usage Arguments Value

View source: R/simulate_data.R

Description

Create simulated batch data for testing.

Usage

1
simulateBatchData(N = 2500, p, theta, sds, batch, zz, df = 10)

Arguments

N

number of observations

p

a vector indicating probability of membership to each component

theta

a matrix of means. Columns are components and rows are batches.

sds

a matrix of standard deviations. Columns are components and rows are batches.

batch

a vector of labels indication from which batch each simulation should come from

zz

a vector indicating latent variable membership. Can be omitted.

df

length-1 numeric vector for the t-distribution degrees of freedom

Value

An object of class 'MultiBatchModel'


scristia/CNPBayes documentation built on Aug. 9, 2020, 7:31 p.m.