Description Usage Arguments Details Value Author(s) See Also
View source: R/is.constrained.R
This function provides a logical test of constraints for each initial value or parameter for a model specification, given data.
1  is.constrained(Model, Initial.Values, Data)

Model 
This is a model specification function. For more
information, see the 
Initial.Values 
This is a vector of initial values, or current
parameter values. For more information, see the

Data 
This is a list of data. For more information, see the

This function is useful for testing whether or not initial values
changed due to constraints when being passed through a Model
specification function. If any initial value changes, then the
constrained values that are ouput in the fifth component of the
Model
specification are suitable as initial values, not the
tested initial values.
A parameter may be constrained and this function may not discover the constraint, since the discovery depends on the initial values and whether or not they change as they are passed through the model.
The is.constrained
function returns a logical vector, equal in
length to the number of initial values. Each element receives
TRUE
if the corresponding initial value changed due to a
constraint, or FALSE
if it did not.
Statisticat, LLC. [email protected]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.