heq_nb {RCM} | R 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

[Package RCM version 1.0.0 Index]