Learn R Programming

bulletr (version 0.1)

predSmooth: Estimate predictions and residuals for a smooth of x and y

Description

Fit a smooth line throught x and y, find predictive values and resiudals.

Usage

predSmooth(x, y)

Arguments

x
vector of numeric values
y
vector of numeric values

Value

data frame with predictions and residuals