compute_thresholds: Compute Thresholds

View source: R/compute_thresholds.R

compute_thresholdsR Documentation

Compute Thresholds

Description

Compute Thresholds

Usage

compute_thresholds(
  dat = NULL,
  anchor.group = NULL,
  time.var = NULL,
  timepoint = NULL,
  change.score = NULL,
  subject.id = "USUBJID"
)

Arguments

dat

pass the dataframe

anchor.group

variable of the anchor group you want used here

time.var

variable of the Time in the dataframe - PLEASE CHECK THAT THIS IS CORRECTLY ORDERED, default is Time

timepoint

default here is to just use the final timepoint, e.g., "Time_4". Please be sure to have ordered your time variable correctly.

change.score

the PRO change score you want the threshold computed on

Value

returns a dataframe with two additional variables, PRO score at baseline and PRO change score


CJangelo/COA34 documentation built on June 23, 2022, 12:10 p.m.