heq_nb {RCM} | R Documentation |
Define linear equality constraints for env. gradient
heq_nb(Alpha, alphaK, d, k, centMat, ...)
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 |
a vector of with current values of the constraints, should evolve to zeroes only