plot.naiveBayes {crimelinkage} | R Documentation |
This function attempts to plot all of the component plots in
one window by using the mfrow argument of par. If more control is desired
then use plotBF
to plot individual Bayes factors.
## S3 method for class 'naiveBayes'
plot(x, vars, log.scale = TRUE, show.legend = 1,
cols = c(color("darkred", alpha = 0.75), color("darkblue", alpha = 0.75)),
...)
x |
a |
vars |
name or index of naive Bayes components to plot. Will plot all if blank. |
log.scale |
(logical) |
show.legend |
either a value or values indicating which plot to show the legend, or TRUE/FALSE to show or not show the legend on all plots. |
cols |
Colors for plotting. First element is for linkage, second unlinked |
... |
arguemnts passed into |
Plots (component) bayes factors from naiveBayes()
plots of Bayes factor from a naive Bayes model
plotBF
, naiveBayes
,
predict.naiveBayes
# See vignette: "Statistical Methods for Crime Series Linkage" for usage.