IVplot | R Documentation |
Makes a barchart of IV values
IVplot(
object,
top = NA,
IVargs = NA,
parts = FALSE,
compare = NA,
labels = NA,
colors = c("darkgreen", "green", "yellow"),
...
)
object |
Either a |
top |
Defaults to |
IVargs |
A required |
parts |
Logical value, defaults to |
compare |
A |
labels |
A character vector, defaults to |
colors |
Colors for the graph. |
... |
Other arguments passed to |
This function uses the barchart
function in the lattice package to create a horizontal barchart that displays IV values. The format of the display varies depending on the type of data to be displayed. If only a single dataset is considered (compare=NA
), and parts=FALSE
, then a simple horizontal bar chart is produced. If parts=TRUE
a stacked bar chart is produced. Each component of IV: density, size and distribution, is shown in a different color.
If two or more datasets are used, and parts=FALSE
then all results are graphed in a single panel. Each dataset is a different color, and the legend uses the contents of labels
to identify each dataset. If parts=TRUE
then each dataset is plotted in a separate panel, and the panel title is determined by labels
. Within each panel, the three components of IV will each have a separate color, which will be consistent between panels.
Returns a barchart
IV
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.