simBase: Simulate baseline data used in construction of robust linear...

Description Usage Arguments Details

View source: R/simulate.R

Description

Simulate baseline data by resampling, inferring the number of samples from the input.

Usage

1
simBase(lmod, gmod, baseline = "log(alt.b)")

Arguments

lmod

An object of class 'rlm' created by lmr.

gmod

An object of class 'evmSim'.

baseline

Character string identifying the baseline column of the design matrix used to fit the robust linear model.

Details

The function decides how many baselines to simulate based on the number of simulated values in the param component of gmod.


harrysouthworth/margarita documentation built on Aug. 19, 2021, 5 a.m.