loess.wrapper: Compute a loess fit using cross validation

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

Uses the crossval function from the boostrap package to compute the optimal value of the tuning parameter in the loess function and returns the corresponding loess fit.

Usage

1
loess.wrapper(x, y, span.vals = seq(0.25, 1, by = 0.05), folds = 5)

Arguments

x

predictor values

y

response values

span.vals

values of the tuning parameter to evaluate using cross validation

folds

number of "folds" for the cross-validation procedure

Details

None.

Value

Returns a loess object.

Note

None.

Author(s)

S. McKay Curtis

References

Chambers, J. M. (1991) Statistical Models in S.

See Also

loess

Examples

1
## See examples for bisoreg ##

bisoreg documentation built on May 30, 2017, 12:49 a.m.

Search within the bisoreg package
Search all R packages, documentation and source code