rmdsmooth.spline: Quick smoothing with spline

Description Usage Arguments Examples

View source: R/rmdsmooth.spline.R

Description

Perform the fit to a cubic smoothing spline and the prediction of the smoothed curved in a single step.

Usage

1
rmdsmooth.spline(x, y = NULL, nx, ...)

Arguments

x

a vector of a two column matrix for smooth.spline()

y

needed only if x is a vector (default NULL)

nx

number of x points for the smoothed curve, supplied to predict()

...

additional arguments passed to smooth.spline

Examples

1
2
x<-read.table("data")
plot(rmdsmooth.spline(x, 80))

s-cosseddu/RMD documentation built on May 28, 2019, 10:46 a.m.