estNBparams {RCM} | R Documentation

## A function to estimate the taxon-wise NB-params

### Description

A function to estimate the taxon-wise NB-params

### Usage

    estNBparams(design, thetas, muMarg, psi, X, nleqslv.control, ncols,
      initParam, v, dynamic = FALSE, envRange)

### Arguments

`design` | an n-by-v design matrix
`thetas` | a vector of dispersion parameters of length p
`muMarg` | an offset matrix
`psi` | a scalar, the importance parameter
`X` | the data matrix
`nleqslv.control` | a list of control elements, passed on to nleqslv()
`ncols` | an integer, the number of columns of X
`initParam` | a v-by-p matrix of initial parameter estimates
`v` | an integer, the number of parameters per taxon
`dynamic` | a boolean, should response function be determined dynamically? See details
`envRange` | a vector of length 2, giving the range of observed environmental scores If dynamic is TRUE, quadratic response functions are fitted for every taxon. If the optimum falls outside of the observed range of environmental scores, a linear response function is fitted instead

### Value

a v-by-p matrix of parameters of the response function

[Package RCM version 1.3.0 Index]