respFunJacMat {RCM} | R Documentation

## Calculates the Jacobian of the parametric response functions

### Description

Calculates the Jacobian of the parametric response functions

### Usage

    respFunJacMat(
      betas,
      X,
      reg,
      thetaMat,
      muMarg,
      psi,
      v,
      p,
      IDmat,
      IndVec,
      allowMissingness,
      naId
    )

### Arguments

`betas` | a vector of length (deg+1)*(p+1) with regression parameters with deg the degree of the response function and the lagrangian multipliers
`X` | the nxp data matrix
`reg` | a vector of regressors with the dimension n-by-v
`thetaMat` | The n-by-p matrix with dispersion parameters
`muMarg` | offset matrix of size nxp
`psi` | a scalar, the importance parameter
`v` | an integer, one plus the degree of the response function
`p` | an integer, the number of taxa
`IDmat` | an logical matrix with indices of non-zero elements
`IndVec` | a vector with indices with non-zero elements
`allowMissingness` | A boolean, are missing values present
`naId` | The numeric index of the missing values in X

### Value

The jacobian, a square matrix of dimension (deg+1)*(p+1)

[Package RCM version 1.10.0 Index]