Learn R Programming

RMark (version 2.1.1)

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

Description

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

Usage

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

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.

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.

See Also

compute.link,get.real