| compute.link | R Documentation |
Computes link values (design*beta) for real parameters, and var-cov from design matrix (design) and coefficients (beta)
compute.link( model, beta = NULL, design = NULL, data = NULL, parm.indices = NULL, vcv = TRUE )
model |
MARK model object |
beta |
Estimates of beta parameters |
design |
numeric design matrix for MARK model with any covariate values filled in |
data |
dataframe with covariate values that are averaged for estimates |
parm.indices |
index numbers from PIMS for rows in design matrix to use |
vcv |
logical; if TRUE, returns v-c matrix of link values |
This function is very similar to compute.real except that it
provides estimates of link values before they are transformed to real
estimates using the inverse-link. It is called by get.link to
make calculations but can be called separately. The value is always a
dataframe for the estimates and design data and optionally a
variance-covariance matrix. See get.real for further details
about the arguments.
estimates: If vcv=TRUE, a list is returned with elements
vcv.link and the dataframe estimates. If vcv=FALSE,
only the estimates dataframe is returned which has the same structure as in
get.real.
Jeff Laake
get.link
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.