Displaying 1 result from an estimated 1 matches for "s384c".
Did you mean:
  384c
  
2008 Apr 24
0
Name of objects in a list
...y. In order to do a 
mantel test between them I wrote a function the returns a list with the 
output of single tests. I would like to include the name of the tests, 
so I know what each element of the result list is. My code is as follows:
land <- list(s1536 = s1536, s384L = s384L, s96L = s96L, s384c = s384c, 
s96c = s96c, s384r = s384r, s96r = s96r)
library(analogue)
ldis <- lapply(land, function(x) as.dist(distance(x, method = "mixed")))
mantel.list <- function(x, ...) {
  require(ade4)
  for (i in 2:length(x)) {
    x1 <- x[[i - 1]]
    x2 <- x[[i]]
    y[[i]] <- man...