R package:ggord的安装 # Enable the r-universe repo options(repos = c( fawda123 = 'https://fawda123.r-universe.dev', CRAN = 'https://cloud.r-project.org'))
package ‘installr’ successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\江*\AppData\Local\Temp;\Rtmpqkm4kS\downloaded_packages > install.packages("stringr") WARNING: Rtools is required to build R packages but is not currently installed. Please download and...
ggord: Ordination Plots with ggplot2. R package version 1.1.8. https://zenodo.org/badge/latestdoi/35334615 Contribution and issues For making contributions to this package, please see the instructions on the contributing page. For bugs or feature requests, please follow the instructions here....
get_lda_ell <- function(ord_in, grp_in, ellipse_pro = 0.97){ ## adapted from https://github.com/fawda123/ggord/blob/master/R/ggord.R require(plyr) axes = c('LD1', 'LD2') obs <- data.frame(predict(ord_in)$x[, axes]) obs$Groups <- grp_in names(obs)[1:2] <- c('on...