Learn R Programming

mcprofile (version 0.0-9)

mcpcalc_methods: Construction of Multiple Contrast Profiles

Description

Only for internal use. Calculating profiles by rearranging the design matrix (IRWLS, lmer) or with an optim wrapper using BFGS method

Usage

mcpcalcIRWLS(object, CM, control=mcprofileControl(), margin=NULL)

Arguments

object
An object of class glm or lm
CM
A contrast matrix with the number of columns equal the number of estimated parameters. Contrast coefficients should be -1 and 1, respectively. Providing row names is recommendable.
control
A list with control arguments. See mcprofileControl.
margin
Numeric vector of margins, defining the profiling range. If NULL no extra margin is considered.

Value

Details

According to the rows of a contrast matrix the design matrix of a model is restructured by makeDesign (IRWLS, lmer). For several constrained model fits the signed root deviance is calculated and interpolated by interpolation splines.

See Also

profile.glm, glht, interpSpline, contrMat