respFunJacMat: Calculates the Jacobian of the parametric response functions

Description Usage Arguments Value

View source: R/F_respFunJacMat.R

Description

Calculates the Jacobian of the parametric response functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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)


RCM documentation built on Nov. 8, 2020, 5:22 p.m.

Related to respFunJacMat in RCM...