famos.performance {FAMoS}R Documentation

Plot FAMoS Performance

Description

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

Usage

famos.performance(
  input,
  path = getwd(),
  reattempts = NULL,
  save.output = NULL,
  ...
)

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.

reattempts

A numeric vector containing other SCVs that should be plotted. Used mainly for reattempts in the main famos routine.

save.output

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

...

Other graphical parameters.

Details

The upper plot shows the improvement of the selection 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 colour shows added, red colour removed and blue colour swapped parameters. The parameters of the final model are printed bold.

Value

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

Examples

#plot the performance of an FAMoS run
famos.performance(input = famos.run)

[Package FAMoS version 0.3.0 Index]