simulate.covsim_calib_plsim: Simulate from a calibrated PLSIM model

View source: R/PLSIM.R

simulate.covsim_calib_plsimR Documentation

Simulate from a calibrated PLSIM model

Description

S3 method for simulate that draws samples from a covsim_calib_plsim object produced by calibrate_plsim.

Usage

## S3 method for class 'covsim_calib_plsim'
simulate(object, nsim = 1, seed = NULL, N, ...)

Arguments

object

A covsim_calib_plsim object.

nsim

Number of independent samples (datasets) to return.

seed

Optional seed passed to set.seed.

N

Number of observations per simulated dataset.

...

Unused.

Value

A list of nsim matrices, each with N rows and the column names of sigma.target.


covsim documentation built on Oct. 29, 2026, 5:06 p.m.