Learn R Programming

rgm (version 1.0.4)

sample.data: Sample Data

Description

This function generates sample data based on the provided parameters and truncation points.

Usage

sample.data(data, K, tpoints)

Value

A list of matrices with the sampled data.

Arguments

data

A list of matrices representing the data.

K

A list of matrices representing the precision matrices for each data matrix in `data`.

tpoints

A list containing two lists of matrices for lower and upper truncation points, respectively.