Finds the lowest stimulation intensity whose mean H amplitude reaches an absolute cutoff or a fraction of the observed Mmax.
Usage
hReflexThreshold(recruitment, criterion = 0.05, scale = c("mmax", "absolute"))Arguments
- recruitment
An H-reflex recruitment table returned by
hReflexRecruitment(), or a data frame containingintensity,h_p2p, andm_p2p.- criterion
Non-negative absolute amplitude, or a fraction in
[0, 1]whenscale = "mmax".- scale
Whether
criterionis relative to Mmax or in native amplitude units.
Examples
recruitment <- data.frame(
intensity = c(10, 20, 30),
h_p2p = c(0.1, 0.5, 1),
m_p2p = c(0.2, 0.8, 2.5)
)
hReflexThreshold(recruitment, criterion = 0.2)
#> threshold_intensity cutoff scale
#> 1 20 0.5 mmax