Learn R Programming

pmcalibration (version 0.1.0)

predict_lowess: Get predictions from loewss fit

Description

Adapted from rms:::calibrate.default Uses approx with rule = 2 so that x out of range of initial lowess fit returns min or max (see ?approx)

Usage

predict_lowess(fit, x)

Value

predicted values

Arguments

fit

list produced by lowess

x

values to produce predictions for