Re: [R-sig-phylo] p-value of PGLS models in caper

2019-12-11 Thread Rafael S Marcondes
That worked perfectly, thank you! *--* *Rafael Sobral Marcondes* PhD Candidate (Systematics, Ecology and Evolution/Ornithology) Museum of Natural Science Louisiana State University 119 Foster Hall Baton Rouge, LA 70803, USA

Re: [R-sig-phylo] p-value of PGLS models in caper

2019-12-10 Thread William Gearty
It looks like the p-value is calculated as follows: pf(summ$fstatistic[1], summ$fstatistic[2], summ$fstatistic[3], lower.tail = FALSE) You can format it like it is in the summary by wrapping that in format.pval(). Best, Will William Gearty williamgearty.com On Tue, Dec 10, 2019 at 1:33 PM

[R-sig-phylo] p-value of PGLS models in caper

2019-12-10 Thread Rafael S Marcondes
Hi all, I'm having a hard time figuring out how to extract the p-value from a PGLS model fitted in caper. When I run summary(mod) and print it, I get, among other things: >summ=summary(mod) >summ Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept)0.0179553