predict_lowess: Get predictions from 'loewss' fit

View source: R/lowess_cal.R

predict_lowessR Documentation

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)

Arguments

fit

list produced by lowess

x

values to produce predictions for

Value

predicted values


pmcalibration documentation built on Sept. 8, 2023, 5:10 p.m.