So all of my labels are correctly colored except for one, which is a red circle instead of saying "D15F". My mentor ran the same codes and he did not have this problem. My rstudio is up to date. How do I get this to show the correct label? I've listed the codes below for reference
#NMDS analyses
WD <- "C:/Users/jacob/OneDrive/Documents/R/win-library/3.6/vegan/data"
setwd(WD)
require(vegan)
phylum.dat <- read.csv("Phylum data for R.csv", stringsAsFactors = T, header = T, row.names = 1)
diversity(phylum.dat, index = "shannon")
specnumber(phylum.dat) #species number
beta <- vegdist(phylum.dat, "jaccard", binary = TRUE) #jaccard distance
mean(beta)
dist(beta) #distance matrix
NMDS <- metaMDS(beta, distance = "jaccard", k = 2)
plot(NMDS, display = "sites", type = "text") #adds labels to plot
orditorp(NMDS, display = "sites", col = c(rep("red",4), rep("blue",4), rep("green",4))) #adds colors