lh_duration: Compute duration below and above target

View source: R/collectedfunctions.R

lh_durationR Documentation

Compute duration below and above target

Description

Compute duration below and above target

Usage

lh_duration(
  data = simd,
  time = "TIME",
  dv = "CONC",
  y.cutoff = 80,
  id = "ID",
  caryover = c("DOSEN")
)

Arguments

data

input data

time

time

dv

dependent variable

y.cutoff

cutoff value

id

unique subject identifier

caryover

variable in data to be carried over with the output


leonpheng/lhtool2 documentation built on April 13, 2025, 5:42 p.m.