AUC: Calculate AUC Using the Trapezoidal Method

Description Usage Arguments Examples

Description

Calculate the area under the curve (AUC) for each subject over the time interval for dv using the trapezoidal rule. nca.analysis(data,n_lambda=3,id,time,dv,ss,partialAUC="no") data

Usage

1
AUC(data, time = "TIME", id = "ID", dv = "DV")

Arguments

time

chronologically ordered time variable present in data

id

variable in data defining subject level data

dv

dependent variable used to calculate AUC present in data

data.frame

containing the data to use for the AUC calculation

Examples

1
AUC(data, time = 'TIME', id = 'ID', dv = 'DV')

leonpheng/lhtool documentation built on Dec. 16, 2019, 3:52 a.m.