search for: traitsnmdsdummies

Displaying 1 result from an estimated 1 matches for "traitsnmdsdummies".

2011 Nov 24
4
I cannot get species scores to plot with site scores in MDS when I use a distance matrix as input. Problems with NA's?
...mmy variables and all integer variables (including binary) were coerced to numeric variables. Here are the codes used and the error messages I have got: ?> NMDSgowdis<- metaMDS(SpeciesGowdis) > NMDSpoints<-postMDS(NMDSgowdis$points,SpeciesGowdis) > NMDSwasc<-wascores(NMDSpoints,TraitsNMDSdummies) Error in if (any(w < 0) || sum(w) == 0) stop("weights must be non-negative and not all zero") : missing value where TRUE/FALSE needed? I imagine the problem is with the NA?s in the data. Alternatively, I have used the ?add.spec.scores? function, method=?cor.scores?, found in packa...