Description Usage Arguments Value Examples
View source: R/model_appr_function.R
Tests if a model is violating specified critical conditions.
1 | model.appr(current.parms, critical.parms, do.not.fit = NULL)
|
current.parms |
A vector containing the indices of the current model. |
critical.parms |
A list containing vectors which specify the critical parameter sets. Needs to be given by index and not by name (for conversion see |
do.not.fit |
A vector containing the indices of the parameters that are not to be fitted. |
TRUE, if the model is appropriate, FALSE, if it violates the specified critical conditions.
1 2 3 4 5 6 7 8 9 | #define the models to be checked
model1 <- c(1,2,5)
model2 <- c(1,4,5)
#define the critical conditions
crits <- list(c(2,3))
#test the models
model.appr(current.parms = model1, critical.parms = crits)
model.appr(current.parms = model2, critical.parms = crits)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.