Version 0.6.6
-
ggvector()gains anangleargument for the text labels. DefaultNULLcomputes each label’s angle from its own vector’s direction, as before; supply a fixed number (e.g.0for horizontal labels) to use the same angle for every label instead. Exposed onggbiplot()asvarname.angle.
Version 0.6.5
- Now Depends R (>= 4.1.0) to handle
|> - Added
lda()objects to those handled byreflect() - Illustrate reflection in ggbiplot examples
- Added
ggvector(), exported, to draw labeled vectors from a common origin usingggarrow::geom_arrow_segment().ggbiplot()now uses this internally to draw variable vectors and their labels, replacing the previousgeom_segment()+grid::arrow()code.ggarrowis now a package dependency (Imports). -
ggbiplot()gains avarname.gapargument to pull variable-vector arrowheads back (in mm) from their true endpoint, e.g. to keep them clear of the correlation circle or of crowded labels. Exposed onggvector()asgap. -
ggvector()’s (and soggbiplot()’s) default arrowlinewidthis now0.9, down from1.4(which matched the shaft width of the oldgrid::arrow()-based rendering).ggarrow’s defaultarrow_head_wings()ornament reads visually heavier than the old plain triangular arrowhead at the same linewidth, so1.4now looks noticeably thicker than the pre-ggarrowarrows did;0.9was chosen to look comparable. Usevector.args = list(linewidth = 1.4)to get the old shaft weight back. -
ggbiplot()gains avector.argsargument: a named list forwarded to theggvector()call that draws the variable-vector arrows, e.g.list(arrow_head = ggarrow::arrow_head_line())for a different arrowhead shape. Anything not matched by aggvector()argument passes on toggarrow::geom_arrow_segment()(justify,force_arrow,sep,distort, …).
Version 0.6.4
- Documented solution to ‘scale_color_discrete() produces two legends’ #2
- Fix glitch with axis labels
-
ggbiplotgainsgeom.indandgeom.vararguments for more flexible handling of the geometries used to display the observation points and variable labels.
Version 0.6.3
- Fix axis label spacing
-
ggbiplotgains aclipargument to control if points, labels, etc. are clipped to the axis limits.
Version 0.6.2
CRAN release: 2024-01-08
This is a modest upgrade to the initial release, adding a number of features.
- corrected small bugs in
ggbiplot() andggscreeplot()` -
reflect()now also reflects supplementary variables fromFactoMineR::PCA() - added support for
ade4::dudi.pca() -
ggbiplot()gains anaxis.titleargument -
ggscreeplot()gainscolor,shape,linetypeandlinewidtharguments - Added
get_SVD()intended the simplify the interface to various PCA functions. - Now use
get_SVD()inggbiplot()andggscreeplot() - Extend some examples, requiring Depends:ggplot2
Version 0.6.1
CRAN release: 2023-12-17
- Revised documentation for
ggscreeplot() -
data(crime)used in README giving a more complete example. - Fixed links reported as 301s
- Published pkgdown site
Version 0.6.0
- Use
geom_polygon()rather thangeom_path()for ellipses to allow them to be filled. - Added
var.factorargument to expand or reflect the variable vectors - Moved points/labels code earlier so ellipses and variable vectors are not obscured
- Replaced internal calculation of ellipses with
stat_ellipse() - Now allow ellipses to be filled (
geom_polygon()) or unfilled (geom_path()) - Added hex logo
- Added iris example to README
- Removed Imports: dplyr, purrr as no longer needed
