AppendPatientLists: AppendPatientLists

View source: R/Functions.R

AppendPatientListsR Documentation

AppendPatientLists

Description

This function takes two lists of simulated outcome (eg from SimulateAllPatientOutcomes) and appends such that the structure of the returned list is the same as the source lists. For elements that are a matrix it will utilize rbind, for vectors c() is used. The main purpose of this function is during simulaitons if the original SimulateAllPatients did not generate enought patients

Usage

AppendPatientLists(lList1, lList2, vNamesToExclude = NULL)

Arguments

lList1

- The first elment list where lList2 is appended to.

lList2

- The second list

vNamesToExclude

a vector of the names to include in the appending. Names not included are coppied from lList1 with nothing appended.

See Also

View Code on GitHub


kwathen/OCTOPUS documentation built on Oct. 24, 2024, 12:36 p.m.