Learn R Programming

scam (version 1.1-1)

derivative.smooth: Derivative of the univariate constrained smooth term

Description

Finds the derivative of the univariate constrained smooth term.

Usage

derivative.smooth(object,smooth.number,x)

Arguments

object
A smooth specification object, generated by an s term in a GAM formula.
smooth.number
number of smooth term which derivative has to be found.
x
covariate values

Value

  • derivDerivative of the smooth term.
  • se.derivstandard errors of the derivative.

References

Pya, N. (2010) Additive models with shape constraints. PhD thesis. University of Bath. Department of Mathematical Sciences

See Also

scam