getInt: Integrate the spline of an vgam object

View source: R/F_getInt.R

getIntR Documentation

Integrate the spline of an vgam object

Description

Integrate the spline of an vgam object

Usage

getInt(coef, spline, sampleScore, stop.on.error = FALSE, ...)

Arguments

coef

A vector of coefficients

spline

The cubic smoothing spline

sampleScore

the observed environmental scores

stop.on.error

see ?integrate

...

additional arguments passed on to integrate()

Value

a scalar, the value of the integral


CenterForStatistics-UGent/RCM documentation built on April 24, 2023, 8:26 p.m.