decreasing_smoother: Smooth a decreasing function.

Description Usage Arguments

Description

This smoother ensures a positive response that is a monotone decreasing function of x.

Usage

1
2
3
decreasing_smoother(x, y, k = 30, len = NULL, sp = NULL)

decreasingSmoother(x, y, k = 30, len = NULL, sp = NULL)

Arguments

x

The regressor passed on to the formula argument of scam.

y

The response passed on to the formula argument of scam.

k

Number of knots.

len

If NULL, the default, x is used for prediction. Otherwise, prediction is done over the range of x with len equidistant points.

sp

A vector of smoothing parameters passed on to scam.


trackeR documentation built on May 15, 2019, 5:04 p.m.