famos.performance

0th

Percentile

Plot FAMoS Performance

For each FAMoS run famos.performance plots the corresponding best model and information criterion.

Usage
famos.performance(input, path = getwd(), ic = "AICc",
  save.output = NULL, log = FALSE, plot.style = "block")
Arguments
input

Either a string giving the three-digit number of the corresponding FAMoS run, e.g "004", or a matrix containing the tested models along with the respective information criteria.

path

If input is the string of an FAMoS run, the directory containing the "FAMoS-Results" folder needs to be supplied as well. Default to getwd.

ic

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

save.output

A string containing the location and name under which the figure should be saved (format is .pdf). Default to NULL.

log

If true, the results are plotted on a logarithmic scale. Default to FALSE.

plot.style

Changes the style of the plot. Options are either "cross" or "block" (default).

Details

The upper plot shows the improvement of the selected information criterion over each FAMoS iteration. The best value is shown on the right axis. The lower plot depicts the corresponding best model of each iteration. Here, green circles show added, red circles removed and blue circles swapped parameters. The parameters of the final model are printed bold.

Value

A plot showing the value of the corresponding information criterion and best model of each FAMoS iteration.

Aliases
  • famos.performance
Examples
# NOT RUN {
#plot the performance of an FAMoS run
famos.performance(input = famos.run, log = TRUE)
# }
Documentation reproduced from package FAMoS, version 0.1.0, License: GPL-3

Community examples

Looks like there are no examples yet.