ext_tte_transfer {maicplus}R Documentation

helper function: transform TTE ADaM data to suitable input for survival R package

Description

helper function: transform TTE ADaM data to suitable input for survival R package

Usage

ext_tte_transfer(dd, time_scale = "months", trt = NULL)

Arguments

dd

data frame, ADTTE read via haven::read_sas

time_scale

a character string, 'years', 'months', 'weeks' or 'days', time unit of median survival time

trt

values to include in treatment column

Value

a data frame that can be used as input to survival::Surv


[Package maicplus version 0.1.2 Index]