whenever y is below a cutoff (blims[kab,2]
), substitute a random sample
from a baseline distribution
Usage
baseline(kab, yvec, blims, ...)
Arguments
- kab
integer indicating which row to read from blims
- yvec
a numeric vector of predicted biomarker values,
for one biomarker
- blims
range of possible baseline antibody levels
- ...
unused
Value
an altered version of yvec