simml (version 0.2.0)

der.link: A subfunction used in estimation

Description

This function computes the 1st derivative of the treatment-specific link function with respect to the single index, using finite difference.

Usage

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

Arguments

g.fit

a mgcv::gam object

eps

a small finite difference used in numerical differentiation.

See Also

fit.simml, simml