search for: samptest4

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

2007 Mar 02
0
Dice dissimilarity output and 'phylo' function in R
...compared the distances computed in R with that from NTSYS or SAS, for example dice and jaccard coefficients I realised that the dice distances are very different while the jaccard distances are the same with those from these other softwares. The codes I used for a small example are shown below: samptest4<- scan (file = "samp-test4.txt") samptest4<- matrix(data = samptest4,nrow=8, ncol=4, byrow=T) library(MASS) library(arules) library(ape) #CFI<- numeric (M) CFI <- function(ctree) { (ctree$Nnode -1)/(length(ctree$tip.label) - 2) } #calculation of dissimilarities & co...