View source: R/setConstraints.R
setConstraints | R Documentation |
'setConstraints' is a helper function that acts as a simple interface to set constraints for some of the parameters of a model.
setConstraints(nconstraints, parnames, which, values)
nconstraints |
positive integer. It indicates the smallest number of constraints required for indefiability |
parnames |
the names of the model parameters |
which |
a vector of integers indicating which parameters are to be constrained |
values |
a vector with elements the values at which the parameters in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.