This function is designed for illustrating the eigenvectors associated with the covariance matrix for a given bivariate data set. It draws a data ellipse of the data and adds vectors showing the eigenvectors of the covariance matrix.
Arguments
- X
A two-column matrix or data frame
- col.vec
color for eigenvectors
- lwd.vec
line width for eigenvectors
- mult
length multiplier(s) for eigenvectors
- asp
aspect ratio of plot, set to
asp=1
by default, and passed to dataEllipse- levels
passed to dataEllipse determining the coverage of the data ellipse(s)
- plot.points
logical; should the points be plotted?
- add
logical; should this call add to an existing plot?
- ...
other arguments passed to
dataEllipse