plotPointsShape function

Add confidence ellipse or convex hull for group of points

Add confidence ellipse or convex hull for group of points

plotPointsShape(p, lwd, lty, opacity, shape_function, ...)

Arguments

  • p: plot data returned by function mdaplot()
  • lwd: thickness of line used to show the hull
  • lty: type of line used to show the hull
  • opacity: of opacity is larger than 0 a semi-transparent polygon is shown over points
  • shape_function: function which calculates and return coordinates of the shape
  • ...: extra parameters for shape_function
  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19