Learn R Programming

ctsem (version 3.2.1)

standatact_specificsubjects: Adjust standata from ctsem to only use specific subjects

Description

Adjust standata from ctsem to only use specific subjects

Usage

standatact_specificsubjects(standata, subjects, timestep = NA)

Arguments

standata

standata

subjects

vector of subjects

timestep

ignored at present

Value

list of updated structure

Examples

Run this code
# NOT RUN {
if (!exists("ctstantestfit")) example(ctstantestfit)
d <- standatact_specificsubjects(ctstantestfit$standata, 1:2)
# }

Run the code above in your browser using DataLab