klaR (version 0.6-2)

centerlines: Lines from classborders to the center

Description

Function which constructs the lines from the borders between two classes to the center. To be used in connection with triplot and quadplot.

Usage

centerlines(n)

Arguments

n
number of classes. Meaningful are 3 or 4.

Value

  • a matrix with n-columns.

concept

  • Visualizing Classification Performance Measures
  • Barycentric plots

See Also

triplot, quadplot

Examples

Run this code
centerlines(3)
centerlines(4)

Run the code above in your browser using DataCamp Workspace