findMed {discharge} | R Documentation |
Find median value
Description
Find median value from the filtered part of the input vector. This function is used as a helper to the bootstrapping routine in prepare baseline
Usage
findMed(data, indices)
Arguments
data |
complete input vector |
indices |
logical vector to filter indices from |
Value
median value of the filtered vector
[Package discharge version 1.0.0 Index]