smooth_spline {stfit}R Documentation

Smoothing spline regression

Description

Smoothing spline regression

Usage

smooth_spline(x, y, x.eval = x, minimum.num.obs = 4, ...)

Arguments

x

independent variable

y

response variable

x.eval

vector to predict on

minimum.num.obs

minimum number of observations needed to run the regression

...

other parameters to be passed to smooth.spline function

Value

predicted values at 'x.eval'


[Package stfit version 0.99.9 Index]