baGetOutcome: Define outcome based on longitudinal outcomes

View source: R/basim_tools.R

baGetOutcomeR Documentation

Define outcome based on longitudinal outcomes

Description

Define outcome based on longitudinal outcomes

Usage

baGetOutcome(mat.y, type = c("ratio", "change", "base"))

Arguments

mat.y

outcomes represented as a matrix

type

type of longitudinal outcomes

Value

if type is "base", the first column is returned. Otherwise the ratio of last column and first column is returned.


olssol/cava documentation built on Aug. 30, 2023, 2:01 a.m.