The ggbiplot() now available on CRAN in another package as AMR::ggplot_pca()
msberends opened this issue · comments
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 theggbiplot()
function from theggbiplot
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
andgrid
- 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.
Awesome, didn't know about that, thanks for posting.