Displaying 2 results from an estimated 2 matches for "envdata".
Did you mean:
enodata
2011 Nov 21
0
In-place modification of a matrix
...) == 11999800) { print ("OK") } else { print ("NOT
OK") }
}
main()
[1] "OK"
[1] "Mem1 99.32"
[1] "Mem2 99.46"
[1] "Time: 0 secs"
[1] "OK"
# example 2 - slow and does create copies
rm(list=ls())
main <- function() {
envData <- new.env()
envData$matrix1 <- matrix(1.0, nrow=60000, ncol=200)
if (sum(envData$matrix1) == 12000000) { print ("OK") } else {
print ("NOT OK") }
funcExample <- function() eval.parent(substitute({
print(paste("Mem1"...
2011 Jul 07
0
CAPdiscrim error in BiodiversityR
...uble running the CAPdiscrim function located in biodiversityR.
My data tables are as follows:
community data frame (called "spdata")
Species1... Speciesn
site1..
site2..
siten
with abundance data as values. Site names are row names.
and environmental data (called "envdata")
year elevation
site1...
site2...
siten
my command lines are as follows:
dists = vegdist(spdata, method ="bray")
capmodel = CAPdiscrim(dists ~ elevation, data =envdata, axes =4, m=0,
permutations = 999)
This returns the following error:
Error in eval(predvars, data,...