heq_nb: Define linear equality constraints for env. gradient

View source: R/F_heq_nb.R

heq_nbR Documentation

Define linear equality constraints for env. gradient

Description

Define linear equality constraints for env. gradient

Usage

heq_nb(Alpha, alphaK, d, k, centMat, ...)

Arguments

Alpha

the current estimate of the environmental gradient

alphaK

a matrix with the environmental gradients of the lower dimensions

d

an integer, the number of environmental variables, including dummies

k

an integer, the current dimension

centMat

a centering matrix

...

further arguments for other methods, not needed in this one

The centering matrix centMat ensures that the parameters of the dummies of the same categorical variable sum to zero

Value

a vector of with current values of the constraints, should evolve to zeroes only


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