Displaying 1 result from an estimated 1 matches for "rassspec".
2023 Dec 08
2
regarding CCA plot
...I am learning rstudio, For my manuscript I am trying to plot CCA using
species and environmental data. But I am getting error like
Error in cca.default(sptrans, envtrans) :
all row sums must be >0 in the community data matrix
*My code is like *
library(vegan)
library(ggplot2)
library(dplyr)
rassspec<-read.csv("C:/Users/hp/Desktop/R_data/rassspec.csv", header=T,
stringsAsFactors=T)
rassevee<-read.csv("C:/Users/hp/Desktop/R_data/rassenv.csv", header=T,
stringsAsFactors=T)
sptrans <- decostand(rassspec, "hellinger")
envtrans <- decostand(rassevee, "h...