plotVarUsage {mogavs} | R Documentation |
Produce a visual summary of how many times each variable appears on the efficient frontier.
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
plotVarUsage(mogavs, method = c("hist", "plot", "table"))
Arguments
mogavs |
A model of the class mogavs. |
method |
The chosen method for visualizing variable usage, |
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
Examples
data(sampleData)
mod<-mogavs(y~.,data=sampleData,maxGenerations=20)
plotVarUsage(mod,"table")
plotVarUsage(mod,"hist")
plotVarUsage(mod,"plot")
[Package mogavs version 1.1.0 Index]