[R-sig-phylo] Cross-validation with independent contrasts

2014-05-16 Thread Diego Bilski
Dear all, I'm wondering if it would be statistically/philosophically correct to use n-fold cross-validation to evaluate a linear regression with independent contrasts. My doubt comes from the fact that when simply dividing the IC dataset in, lets say, 10 folds, some folds will remove the

[R-sig-phylo] Concentrated changes test

2014-05-16 Thread Matt Pennell
Hi everyone, Just a quick question: I was wondering if there is a R implementation of Wayne Maddison's (1990) concentrated changes test ( http://www.jstor.org/stable/2409434). After a little looking around, I can't seem to find it but was hoping someone else might have some ideas. Thanks in

Re: [R-sig-phylo] Concentrated changes test

2014-05-16 Thread Theodore Garland Jr
Isn't it in Mesquite? Cheers, Ted Theodore Garland, Jr., Professor Department of Biology University of California, Riverside Riverside, CA 92521 Office Phone: (951) 827-3524 Facsimile: (951) 827-4286 = Dept. office (not confidential) Email: tgarl...@ucr.edu

Re: [R-sig-phylo] plot trees after different branch transformations

2014-05-16 Thread Liam J. Revell
It looks like transform.phylo has been deprecated. Use rescale.phylo. All the best, Liam Liam J. Revell, Assistant Professor of Biology University of Massachusetts Boston web: http://faculty.umb.edu/liam.revell/ email: liam.rev...@umb.edu blog: http://blog.phytools.org On 5/16/2014 2:20 PM,

Re: [R-sig-phylo] plot trees after different branch transformations

2014-05-16 Thread Luke Harmon
Hi Agus - Geiger has changed - now you should use rescale. E.g. library(geiger) geo - get(data(geospiza)) lphy - rescale(geo$phy, lambda, 0.5) # transform tree in one fell swoop plot(lphy) On May 16, 2014, at 11:20 AM, Agus Camacho agus.cama...@gmail.com wrote: Dear list users, Im

Re: [R-sig-phylo] Cross-validation with independent contrasts

2014-05-16 Thread Diego Bilski
Thank you both, Ted and Joe, My first (or second) option would be doing what Ted suggested, but it will require a bit more coding than just using already existing functions. I will try to do that anyway, and compare the results to those from the cross-validation on the independent contrasts.

Re: [R-sig-phylo] plot trees after different branch transformations

2014-05-16 Thread Agus Camacho
Thank you both, However, geo - get(data(geospiza)) lphy - rescale(geo$phy, lambda, 0.5) # transform tree in one fell swoop Error in colMeans(x, na.rm = TRUE) : 'x' must be numeric I got this error also for simulated and other real trees. 2014-05-16 15:24 GMT-03:00 Liam J. Revell