constrainFun: Function used in the 'proLik' function to produce a profile...

Description Usage Arguments Details Author(s) See Also

View source: R/constrainFun.R

Description

Given a model object from asreml and a range of estimates of the parameter, the function will supply the likelihood ratio test statistic for the comparison of the full model to one where the parameter of interest is constrained.

Usage

1
constrainFun(parameter.val, full, fm2, comp)

Arguments

parameter.val

a value for which the log Likelihood of a model is to be calculated

full

the full model asreml object

fm2

starting values for the full model

comp

which variance component to constrain

Details

Used internally in the proLik function

Author(s)

matthewwolak@gmail.com

See Also

See Also proLik



nadiv documentation built on May 21, 2017, 12:52 a.m.
Search within the nadiv 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.