get.link: Compute sets of link values for real parameters

Description Usage Arguments Details Value Author(s) See Also

View source: R/get.link.R

Description

Computes link values for real parameters for a particular type of parameter (parameter) and returns in a table (dataframe) format.

Usage

1
2
get.link(model, parameter, beta = NULL, design = NULL, data = NULL,
  vcv = FALSE)

Arguments

model

MARK model object

parameter

type of parameter in model (character) (e.g.,"Phi")

beta

values of beta parameters for computation of link values

design

a numeric design matrix with any covariate values filled in with numerical values

data

covariate data to be averaged for estimates if design=NULL

vcv

if TRUE computes and returns the v-c matrix of the subset of the link values

Details

This function is very similar to get.real except that it provides estimates of link values before they are transformed to real estimates using the inverse-link. Also, 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.

Value

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.

Author(s)

Jeff Laake

See Also

compute.link,get.real


RMark documentation built on May 19, 2017, 11:24 p.m.

Search within the RMark package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.