Learn R Programming

simsl (version 0.2.1)

der.link: A subfunction used in estimation

Description

This function computes the 1st derivative of the surface-link function with respect to the argument associated with the pure interaction effect term of the smooth, using finite difference.

Usage

der.link(g.fit, eps = 10^(-4))

Arguments

g.fit

a mgcv::gam object

eps

a small finite difference used in numerical differentiation.

See Also

fit.simsl, simsl