Skip to content

ggbiplot

0.6.5Package record

A Grammar of Graphics Implementation of Biplots

2packages dependsuggested by 2
35.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

A 'ggplot2' based implementation of biplots, giving a representation of a dataset in a two dimensional space accounting for the greatest variance, together with variable vectors showing how the data variables relate to this space. It provides a replacement for stats::biplot(), but with many enhancements to control the analysis and graphical display. It implements biplot and scree plot methods which can be used with the results of prcomp(), princomp(), FactoMineR::PCA(), ade4::dudi.pca() or MASS::lda() and can be customized using 'ggplot2' techniques.

Changes in 0.6.5
  • Now Depends R (>= 4.1.0) to handle |>
  • Added lda() objects to those handled by reflect()
  • Illustrate reflection in ggbiplot examples
  • Added ggvector(), exported, to draw labeled vectors from a common origin using ggarrow::geom_arrow_segment(). ggbiplot() now uses this internally to draw variable vectors and their labels, replacing the previous geom_segment() + grid::arrow() code. ggarrow is now a package dependency (Imports).
  • ggbiplot() gains a varname.gap argument 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 on ggvector() as gap.
  • ggvector()'s (and so ggbiplot()'s) default arrow linewidth is now 0.9, down from 1.4 (which matched the shaft width of the old grid::arrow()-based rendering). ggarrow's default arrow_head_wings() ornament reads visually heavier than the old plain triangular arrowhead at the same linewidth, so 1.4 now looks noticeably thicker than the pre-ggarrow arrows did; 0.9 was chosen to look comparable. Use vector.args = list(linewidth = 1.4) to get the old shaft weight back.
Show all changes in 0.6.5Hide the rest of the changes in 0.6.5
  • ggbiplot() gains a vector.args argument: a named list forwarded to the ggvector() 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 a ggvector() argument passes on to ggarrow::geom_arrow_segment() (justify, force_arrow, sep, distort, ...).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-19
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.6.5
READMEYes · 832 wordsVignettesNoNEWSYes · 67% structured · mentions 0.6.5Citation fileNoWebsiteYes · pkgdown
Help pages
7
Examples that run
100%7 run in a plain check
Exported functions with examples
100%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
43%

Downloads

35.5K
CRAN downloads in the past year
Rank #2,022 · ~97/day · ~3K/mo
Daily download trend is not available in this view yet.
4.2K30 days
9K90 days
35.5K1 year
Compare downloads with other packages →
Also on435 r2u7 autocran1.8K bioconda

Repository

17Stars
0Forks
3Open issues
0Open PRs
3Releases
137Commits
5Commit identities
biplotdata-visualizationdimension-reductionprincipal-component-analysis
137 commits · Last activity 2026-09-10 · 0% stars, 30d · Default branch at 0.6.6, ahead of CRAN 0.6.5 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
545
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-11-20 · 122026-09-07 · 17
PracticesBeta

6 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/friendly/ggbiplot on 2026-10-11.

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-10

pkgdown site last built 2026-08-04, before release 0.6.5 (2026-09-07)

CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-09-04
    Named in .Rbuildignore: .claude
    Commits: some crediting it in the message, count not recorded
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing ggbiplot adds 19 packages (8 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (2)
R >= 4.1.0ggplot2
Imports (2)
LinkingTo (0)
none
Suggests (5)
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 0.6.1 (2023)
Contributor
Listed in earlier versions (2)
Vincent Vu
no longer listed · 0.6.1
Vincent Q.
no longer listed · 0.6.2 to 0.6.5
Releases (3)

Pick two releases to compare their code metrics.

  • 0.6.5Latest
    record
    2026-09-07 · current release · diff ↗ ·
    added 1 export
    ggvector
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.6.2
    record
    2024-01-09 · diff ↗ ·
    added 1 export
    get_SVD
  • 0.6.1
    record
    2023-12-17
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-12-17
Total releases
3 / 3 yrs
License
GPL-2 OSI
Minimum R
≥ 4.1.0
Bundled data
7.0 KB / 2 files
Download size
245 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ggbiplot")
Friendly, M., Tavadyan, A., & Vu, V. Q. (2026). ggbiplot: A Grammar of Graphics Implementation of Biplots (Version 0.6.5) [Computer software]. https://doi.org/10.32614/CRAN.package.ggbiplot

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ggbiplot version 0.6.5 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy