Learn R Programming

mcprofile (version 0.0-9)

mcpcalcnlsRatio: Construction of Multiple Contrast Profiles

Description

Only for internal use. Calculating profiles for nls objects by optimization with linear constraints using optim.

Usage

mcpcalcnlsRatio(object, CMn, CMd, control=mcprofileControl(), margin=NULL)

Arguments

object
An object of class nls
CMn
A numerator 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.
CMd
A denominator contrast matrix equivalent to the numerator matrix.
control
A list with control arguments. See the details section.
margin
Numeric vector of margins, defining the profiling range. If NULL no extra margin is considered.

Value

Details

The signed root deviance is calculated and interpolated by interpolation splines.

See Also

optim, profile.nls, sci.ratio, interpSpline, contrMatRatio