Displaying 3 results from an estimated 3 matches for "ldis".
Did you mean:
ldisc
2008 Apr 24
0
Name of objects in a list
...s 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]] <- mantel.rtest(x1, x2)
}
return(y)
}
lmantel <- mantel.list(ldis)
>...
2009 Sep 17
3
generating unordered combinations
Hi,
I am trying to generate all unordered combinations of a set of
numbers / characters, and I can only find a (very) clumsy way of doing
this using expand.grid. For example, all unordered combinations of
the numbers 0, 1, 2 are:
0, 0, 0
0, 0, 1
0, 0, 2
0, 1, 1
0, 1, 2
0, 2, 2
1, 1, 1
1, 1, 2
1, 2, 2
2, 2, 2
(I have not included, for example, 1, 0, 0, since it is equivalent to
0, 0, 1).
I have
2005 May 19
3
[LLVMdev] [Cygwin] llvm 'make install' build errors
Reid,
I think it is the first time it is run that the errors occcur !?
Not sure but that would seem logical.
Aaron