search for: rtree

Displaying 5 results from an estimated 5 matches for "rtree".

Did you mean: tree
2007 Dec 10
1
Multiple Reponse CART Analysis
...onses, trying to test if change in size (turtle.data$Clength) acts as a single predictor of ten multiple diet taxa abundances (prey.data) Neither rpart or mvpart seem to allow me to do multiple responses. (Or if they can, I'm not using the functions properly.) > library(rpart) > turtle.rtree<-rpart(prey.data~., data=turtle.data$Clength, method="anova", maxsurrogate=0, minsplit=8, minbucket=4, xval=10); plot(turtle.rtree); text(turtle.rtree) Error in terms.formula(formula, data = data) : '.' in formula and no 'data' argument When I switch response...
2011 Mar 28
1
rtree() distances between tips as n by n matrix?
Hello R users, If I generate a random tree with n=10 tips as rtree(n=10) say, is there a way to have the distances between all tips put into a n by n matrix? Sincerely, Brian [[alternative HTML version deleted]]
2010 Jun 02
1
compute the associate vector of distances between leaves in a binary non-rooted tree
...associate vector of distances between leaves in a binary non-rooted tree. The definition of a distance between two leaves in a binary non-rooted tree is the number of edges in the path joining the two leaves. I've tried the ape package but I'm unable to find this vector. For example, using rtree(5,rooted=F) I've obtained the following tree: $edge [,1] [,2] [1,] 6 7 [2,] 7 1 [3,] 7 8 [4,] 8 2 [5,] 8 3 [6,] 6 4 [7,] 6 5 $tip.label [1] "t4" "t3" "t2" "t1" "t5" $edge.length [1] 0.9126727 0.2...
2003 Mar 20
9
Routing/forwarding/shaping problems in v2.2.x (Long - sorry)
Greetings from a newbie! (Well, to this list anyway) I''m having a problem and I hope someone here might be able to help... I am strongly expecting an answer along the lines of "upgrade to v2.4.x", but I would REALLY preffer to avoid that for now... The setup: "Home brewed" v2.2.24 (will patch to v2.2.25 later today) with the DS8 patch applied. Currently
2009 Jan 07
1
troubles performing Moran.I test
dear R users, I have troubles performing Moran.I test as suggested on http://www.ats.ucla.edu/stat/r/faq/morans_i.htm my spatial data are longitude and lattitide of communities. The calculation of the inverse distance matrix according to the homepage (using my data) datAL <- read.csv2("C:\\Konvergenz AL.csv", header=T) ALdist <- as.matrix(dist(cbind(datAL$L?nge,