Hi Andrea,
I have run the code you posted without problems.
In this moment, I'm using R 3.3.2 x64 on a Windows machine.
The geiger version I tried this on is geiger_2.0.6.
You might wanna try also posting the question on the list R-sig-phylo
as a lot of people developing R packages for phylogenetic comparative
approaches are subscribers there (and that's why I'm answering to you
publicly).
Best,
Carmelo
andrea cardini <alcard...@gmail.com> ha scritto:
Dear All,
I've just tried the rescale function in geiger on my data and got an
error message. As I have no experience with it, I tried the first
example for this function in the help: same error message (see below).
Has anyone had similar issues? Probably I made some silly mistake.
Thanks in advance for your feedback.
Cheers
Andrea
geo <- get(data(geospiza))
ltrns <- rescale(geo$phy, "lambda")
plot(ltrns(0))
title("lambda: 0.0")
Error message:
Error in rescale(as.numeric(x, range = range, domain = domain, ...)) :
(list) object cannot be coerced to type 'double'
--
Dr. Andrea Cardini
Researcher, Dipartimento di Scienze Chimiche e Geologiche,
Università di Modena e Reggio Emilia, Via Campi, 103 - 41125 Modena
- Italy
tel. 0039 059 2058472
Adjunct Associate Professor, School of Anatomy, Physiology and Human
Biology, The University of Western Australia, 35 Stirling Highway,
Crawley WA 6009, Australia
E-mail address: alcard...@gmail.com, andrea.card...@unimore.it
WEBPAGE: https://sites.google.com/site/alcardini/home/main
FREE Yellow BOOK on Geometric Morphometrics:
http://www.italian-journal-of-mammalogy.it/public/journals/3/issue_241_complete_100.pdf
ESTIMATE YOUR GLOBAL FOOTPRINT:
http://www.footprintnetwork.org/en/index.php/GFN/page/calculators/
--
MORPHMET may be accessed via its webpage at http://www.morphometrics.org
--- You received this message because you are subscribed to the
Google Groups "MORPHMET" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to morphmet+unsubscr...@morphometrics.org.
--
Carmelo Fruciano
Postdoctoral Fellow - Queensland University of Technology - Brisbane,
Australia
Honorary Fellow - University of Catania - Catania, Italy
e-mail c.fruci...@unict.it
http://www.fruciano.it/research/
--
MORPHMET may be accessed via its webpage at http://www.morphometrics.org
---
You received this message because you are subscribed to the Google Groups "MORPHMET" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to morphmet+unsubscr...@morphometrics.org.