)
newlist - lapply(phylist,
function(z) {
z$tip.label - c(G,H,I,J,K)
class(z) - phylo
z
})
class(newlist) - multiPhylo
write.tree(newlist,file=newlist)
On Mon, 2008-09-01 at 10:55 +1000, Simon Blomberg wrote:
Try
class(newlist) - multiPhylo
Then use write.tree.
Cheers
-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
--
Simon Blomberg, BSc (Hons), PhD, MAppStat.
Lecturer and Consultant Statistician
Faculty of Biological and Chemical Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
question, but it was honestly over my head.
Thanks in advance!
Cheers,
Eli Swanson
___
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
--
Simon Blomberg, BSc (Hons), PhD, MAppStat
A good general reference for r^2 is:
@ARTICLE{generalized.r^-1,
author = {Nagelkerke, N. J. D.},
title = {A Note on a General Definition of the Coefficient of Determination},
journal = {Biometrika},
year = {1991},
volume = {78},
pages = {691-692},
number = {3}
}
Simon.
Simon
help.
- Liam
Liam J. Revell
NESCent, Duke University
web: http://anolis.oeb.harvard.edu/~liam/
NEW email: lrev...@nescent.org
___
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
--
Simon Blomberg
___
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat
Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
T: +61 7 3365
___
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat
Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
...@gs.washington.edu
Dept. of Genome Sciences, Univ. of Washington
Box 355065, Seattle, WA 98195-5065 USA
___
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
--
Simon Blomberg, BSc (Hons), PhD, MAppStat
/mailman/listinfo/r-sig-phylo
--
Simon Blomberg, BSc (Hons), PhD, MAppStat.
Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
T: +61 7 3365 2506
email: S.Blomberg1_at_uq.edu.au
http://www.uq.edu.au/~uqsblomb/
Policies:
1
I used to do this before ape existed.
Here is some example code.
library(ape)
data(bird.orders)
# some made up data
dat - data.frame(y=rnorm(23), x=rnorm(23))
rownames(dat) - bird.orders$tip.label
mat - vcv(bird.orders, cor=TRUE)
fit - gls(y~x, correlation=corSymm(mat[lower.tri(mat)],
using the version 2.14.1 of R, 3.1-96 of nlme, and 3.0-1 of ape.
Best,
Rudolf
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
T: +61 7 3365 2506
email
is: in which technique can we believe?
I’m using the version 2.14.1 of R, 3.1-96 of nlme, and 3.0-1 of ape.
Best,
Rudolf
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
try
diag(vcv.phylo(your.tree))
Cheers,
Simon.
On 03/09/12 19:17, boyang zhe wrote:
Hi, everyone
I am new to ape and R programming. I have an unrooted tree. I use
root() function to reroot the tree by one outgroup. and then I try to
extract root to tip distance. the tree$edge.length only
://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
help I am very grateful.
Best,
Sereina
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Senior Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
T: +61 7 3365 2506
email: S.Blomberg1_at_uq.edu.au
http
the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Senior Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland
, at 10:53 PM, Simon Blomberg s.blombe...@uq.edu.au
wrote:
Hi Ben,
Yes, you would have to assume constant variance across species to use
N=24. I think that is the only option. But given that biological data
often has a positive mean-variance relationship, again I'm dubious about
the exercise. YMMV
Am I missing something? The OP only has 8 species in the data set. I wouldn't
put much store in fancy PCM modelling based on such a small data set. And 3
individuals per species is not enough for a good estimate of the within-species
variance.
Simon.
Simon Blomberg, BSc (Hons), PhD, MAppStat
Hi Ben,
Yes, you would have to assume constant variance across species to use N=24. I
think that is the only option. But given that biological data often has a
positive mean-variance relationship, again I'm dubious about the exercise.
YMMV, however!
Cheers,
Simon.
Simon Blomberg, BSc (Hons
://www.mail-archive.com/r-sig-phylo@r-project.org/
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Senior Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
T: +61 7 3365 2506
email: S.Blomberg1_at_uq.edu.au
http
much in advance,
Alexandre
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Senior Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
T: +61 7 3365 2506
email: S.Blomberg1_at_uq.edu.au
http
d trees.
>
> PhD @ Biomathematics Research Centre
> Room 523 - Erskine Building
> University of Canterbury
> Christchurch - New Zealand
>
> phone: +64 3 364 2987 ext 4869
>
>
> ___
> R-sig-phylo mailing list - R-sig-phylo@r-p
chive.com/r-sig-phylo@r-project.org/
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Senior Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
T: +61 7 3365 2506
email: S.Blomberg1_at_uq.edu.au
http://www.evolutionarys
ig-phylo@r-project.org/
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Senior Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
T: +61 7 3365 2506
email: S.Blomberg1_at_uq.edu.au
http://www.evolutionarystatistic
ales_0.4.1
I am not getting the error on two other machines with the same OS and
(as far as I can tell) the same setup. Any help would be greatly
appreciated!
Cheers,
Simon.
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Senior Lecturer and Consultant Statistician
School of Biological Sc
False alarm. I cleared my workspace and re-started R and the problem has
gone away. I'm curious to know how it occurred but I'm happy that it has
been resolved. We now return you to your scheduled R programming...
Cheers,
Simon.
On 27/04/17 12:44, Simon Blomberg wrote:
Hi Emmanuel
26 matches
Mail list logo