ic.order

0th

Percentile

Plot Model Information Criteria

Plots the information criteria of the tested models in ascending order.

Usage
ic.order(input = getwd(), mrun = NULL, number = NULL, ic = "AICc",
  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 information criteria. Default to getwd().

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.

ic

The information criterion the model selection will be based on. Options are "AICc", "AIC" and "BIC". Default to "AICc".

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 barplot.

Value

Barplot showing the ordered information criteria of the tested models. Also returns a data frame containing each unique tested model with its best information criteria.

Aliases
  • ic.order
Examples
# NOT RUN {
#plot the information criteria
ic.order(input = famos.run, log = "y")
ic.order(input = famos.run, log = "y", colour.par = "p1")
# }
Documentation reproduced from package FAMoS, version 0.1.0, License: GPL-3

Community examples

Looks like there are no examples yet.