plotVarUsage: Produce a visual summary of how many times each variable...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plotVarUsage.R

Description

Visualizes how models on the efficient frontier use different variables. May be useful for finding out which variables seem to be most useful for explanation.

Usage

1
plotVarUsage(mogavs, method = c("hist", "plot", "table"))

Arguments

mogavs

A model of the class mogavs.

method

The chosen method for visualizing variable usage, hist for a histogram, plot for a plot, and table for just a table.

Value

In the case of method="hist" or method="plot" doesn't return anything, if method="table" returns a table.

Author(s)

Tommi Pajala <tommi.pajala@aalto.fi>

See Also

getBestModel,getBestModelVars

Examples

1
2
3
4
5
data(sampleData)
mod<-mogavs(y~.,data=sampleData,maxGenerations=20)
plotVarUsage(mod,"table")
plotVarUsage(mod,"hist")
plotVarUsage(mod,"plot")

mogavs documentation built on May 2, 2019, 1 a.m.