famos.performance: Plot FAMoS Performance

Description Usage Arguments Details Value Examples

View source: R/famos_performance_function.R

Description

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

Usage

1
famos.performance(input, path = getwd(), 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.

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

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

FAMoS documentation built on May 26, 2019, 5 p.m.