- x
an object of class "stylo.results"
as produced by
the function samplesize.penalize
.
- target
the number of the text to be plotted, or its name as
stored in the "stylo.results"
object (see the examples below).
Both ways are equivalent, where a numeric value represents the n-th text.
If no target is specified, then the first text is plotted.
- variable
choose either "accuracy"
to get the classification
accuracy, i.e. the ratio of correctly attributed instances to the number
iterations (usually 100, see the help page of samplesize.penalize
for further details), or "diversity"
to get Simpson's index
of class imbalance (this is the default value). The index provides you
with the information how consistent was a classifier in its choices.
- trendline
since all the observations represented in the plot might be
difficult to read, one can use a trendline instead (default). The
trendlines are produced using the generic lowess
function.
- observations
particular observations and a trendline (see above) can
be combined. Switch this option on, to do so (default: FALSE
).
- grayscale
using this option, you can switch off colors.
- legend
do you want to have the trendlines and/or observations
explained? Switch this option on (which is default).
- legend_pos
position of the legend: choose between
"bottomright"
, "bottomleft"
, "topright"
and "topleft"
.
- main
title of the plot; use it as if it was a regular option
of the function plot
, or leave it as "default"
to get the name of the sample as automatically extracted from
the class "stylo.results"
.
- ...
further arguments to be passed to plot
.