Description Usage Arguments Details Value
View source: R/03_as_goodfit.R
Takes goodness of fit figures and outputs a goodfit object for further
partitioning with part
.
1 |
gofs |
A list with either one or two components, depending on whether two parameters (e.g. mu and sigma) have to be modeled, or just one (most cases). The first element is a vector called 'mu' holding the goodness of fit numbers as a numeric vector. If a second parameter is also modeled, the second element is called 'sigma'. |
model_ids |
A character vector of the same length as |
expl_names |
A character vector with the variable or variable group names. |
npar |
Number of parameters for which patitioning should be done.
Defaults to 1. Has to have the same length as |
method |
Method from which the goodnesses of fit were extracted. Not of
importance for partitioning so it defaults to |
gof |
Name of the goodness of fit measure which was extracted from the
model. Is used for |
Use this function if you have models and/or goodness of fit figures which are
not yet implemented in ghp
but still shall be partitioned with
part
.
A gof object (type list), which has the following elements:
gofs: A list with npar
elements, each
being a vector with the goodness of fits of the models.
model_ids: A character vector with id's of the models: e.g. "x0", "x1", ...
expl_names: Names of explanatory variables (grouped) or names of groups (grouped).
npar Number of modeled paramateters. Can be 1 or 2.
method: The method used to compute models. Can be one of "lm" or "gamlss".
gof: A single character depicting the goodness of fit that was extracted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.