Learn R Programming

rstpm2 (version 1.6.5)

gsm_design: Extract design information from an stpm2/gsm object and newdata for use in C++

Description

Extract design information from an stpm2/gsm object and newdata for use in C++

Usage

gsm_design(object, newdata, newdata0 = NULL, t0 = NULL, inflate = 100)

Value

list that can be read by `gsm ssim::read_gsm(SEX args)` in C++

Arguments

object

stpm2/gsm object

newdata

list or data-frame used for evaluation

newdata0

list or data-frame used for evaluation at the entry time

t0

possible delayed entry time (numeric scalar)

inflate

double value to inflate minimum and maximum times for root finding