Just to let you know: the code of the ggbiplot() function of this package as developed over 5 years ago, was used by us to create the ggplot_pca() function for the AMR package. An update containing this function is now available on CRAN and we maintain it actively. Many thanks for your work, Vince Vu!
Under Source, we tried our best to give proper attribution so there we state:
Source
The ggplot_pca() function is based on the ggbiplot() function from the ggbiplot package by Vince Vu, as found on GitHub: https://github.com/vqv/ggbiplot (retrieved: 2 March 2020, their latest commit: 7325e88; 12 February 2015).
As per their GPL-2 licence that demands documentation of code changes, the changes made based on the source code were:
Rewritten code to remove the dependency on packages plyr, scales and grid
Parametrised more options, like arrow and ellipse settings
Hardened all input possibilities by defining the exact type of user input for every argument
Added total amount of explained variance as a caption in the plot
Cleaned all syntax based on the lintr package, fixed grammatical errors and added integrity checks
Updated documentation
Our source code for the ggplot_pca() function is available here on GitHub.
This also 'solves' issues #61, #60, #57, #56, #53, #52, #51, #49, #34, #72 and probably more.
Just to let you know: the code of the
ggbiplot()
function of this package as developed over 5 years ago, was used by us to create theggplot_pca()
function for theAMR
package. An update containing this function is now available on CRAN and we maintain it actively. Many thanks for your work, Vince Vu!Under Source, we tried our best to give proper attribution so there we state:
Our source code for the
ggplot_pca()
function is available here on GitHub.This also 'solves' issues #61, #60, #57, #56, #53, #52, #51, #49, #34, #72 and probably more.