sc.order {FAMoS} | R Documentation |
Plot Model selection Criteria
Description
Plots the selection criteria of the tested models in ascending order.
Usage
sc.order(
input = getwd(),
mrun = NULL,
number = NULL,
colour.par = NULL,
save.output = NULL,
...
)
Arguments
input |
Either a string containing the directory which holds the "FAMoS-Results" folder or a matrix containing the tested models along with the respective selection criteria. Default to |
mrun |
A string giving the number of the corresponding FAMoS run, e.g "004". If NULL (default), all FAMoS runs in the folder will be used for evaluation. |
number |
Specifies the number of models that will be plotted. If NULL (default), all tested models will be used for plotting. |
colour.par |
The name of a model parameter. All models containing this parameter will be coloured red. Default to NULL. |
save.output |
A string containing the location and name under which the figure should be saved (format is .pdf). Default to NULL. |
... |
Additional parameters that will be passed on to |
Value
Barplot showing the ordered selection criteria of the tested models. Also returns a data frame containing each unique tested model with its best selection criteria.
Examples
#plot the selection criteria
sc.order(input = famos.run)
sc.order(input = famos.run, colour.par = "p1")