- X
[1:n] numeric vector or time
- Y
[1:n] numeric vector of feature
- Cls
[1:n] numeric vector of k classes, if not set per default every point is in first class
- Names
[1:n] character vector of k classes, if not set per default Cls is used, if set, names the legend and the points
- na.rm
Function may not work with non finite values. If these cases should be automatically removed, set parameter TRUE
- xlab
Optional, string for xlabel
- ylab
Optional, string for ylabel
- main
Optional, string for title of plot
- Colors
Optional, [1;k] string defining the k colors, one per class
- AnnotateIt
Optional, in case of Plotter==ggplot and given Names annotates each point if TRUE
- Size
Optional, size of points, beware: default is appropriate for "plotly", or "native" but should smaller for "ggplot"
- PointBorderCol
Optional, string, color of the dot outline for "plotly" for "ggplot". If FALSE and Plotter="ggplot" or Plotter="plotly", no borders for points which is useful if many points overlap.
- LineColor
Optional, name of color, in plotly then all points are connected by a curve,
in ggplot2 all points of one class ae connected by a curve of the color the class
- LineWidth
Optional, number defining the width of the curve (plotly only)
- LineType
Optional, string defining the type of the curve in plotly only, "dot", "dash", "-"
for ggplot2: just set =1 here and then the curve is plotted
- Showgrid
Optional, boolean (plotly only)
- Plotter
Optional, either "ggplot" (default if Names given), "plotly" (default if no Names given), or "native"
- pch
[1:n] numeric vector of length n of the cases of Cls for the k classes. It defines the symbols to use, for native Plotter or ggplot, usally k can be in a range from zero to 25
- SaveIt
Optional, boolean, if true saves plot as html (plotly) or png (ggplot2)
- Nudge_x_Names
Optional, numerical scalar, for Plotter "ggplot" only, if Names are set, moves them consistently respective to x-axis within units of x-axis
- Nudge_y_Names
Optional, numerical scalar, for Plotter "ggplot" only, if Names are set, moves them consistently respective to y-axis within units of y-axis
- SmallClassesOnTop
Optional, boolean, decide if small classes should be plotted on top for visibility (default setting) or not.
- Legend
Optional, if argument is not missing, character string defining the title of the legend which automatically enables the legend
- ...
Further arguments for ggplot2::ggplot,or plotly::plot_ly, or plot (except "pch"" and "type") depending on Plotter