Compute area under the curve with respect to ground and increase
Usage
auc(
data,
saliva_type = "cortisol",
remove_s0 = FALSE,
compute_auc_post = FALSE,
sample_times = NULL
)
Arguments
- data
Saliva data or canonical results.
- saliva_type
Measurement column name(s).
- remove_s0
Whether to remove baseline sample S0.
- compute_auc_post
Whether to add post-baseline AUCi.
- sample_times
Sampling-time vector or column name.
Value
Group-level AUC values.