Skip to contents

Compute maximum increase from the initial sample

Usage

max_increase(
  data,
  saliva_type = "cortisol",
  remove_s0 = FALSE,
  percent = FALSE
)

Arguments

data

Saliva data or canonical results.

saliva_type

Measurement column name(s).

remove_s0

Whether to remove baseline sample S0.

percent

Whether to return the percentage increase.

Value

Group-level maximum increase.