Extracting p-values from advanced.procD.lm() as data frame

121 views
Skip to first unread message

broc....@mines.sdsmt.edu

unread,
Jun 27, 2017, 5:41:26 PM6/27/17
to geomorph R package
Hello all,

I use the function advanced.procD.lm() to generate pairwise comparisons among various groups I am analyzing and would like to apply corrections to the resulting p-values (Bonferroni, Holm's, etc.). Because p-values are only part of the function's output, is there a way to extract these values as a data frame so I can carry out these corrections right in R? Or perhaps there's a slicker way to adjust them within geomorph?

Many thanks in advance!

Mike Collyer

unread,
Jun 27, 2017, 6:17:55 PM6/27/17
to broc....@mines.sdsmt.edu, geomorph R package
As long as you save the analysis as an object; i.e.,

myFit <- advanced.procD.lm(f1, …)

then the P.values are extractable objects; e.g.,

myFit$P.means.dist

Cheers!
Mike

--
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-pack...@googlegroups.com.
To post to this group, send email to geomorph-...@googlegroups.com.
Visit this group at https://groups.google.com/group/geomorph-r-package.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/dfc0d173-c710-4cad-ac54-c61dee2e88f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

broc....@mines.sdsmt.edu

unread,
Jun 27, 2017, 7:49:54 PM6/27/17
to geomorph R package, broc....@mines.sdsmt.edu
Many thanks Mike!


On Tuesday, June 27, 2017 at 4:17:55 PM UTC-6, Michael Collyer wrote:
As long as you save the analysis as an object; i.e.,

myFit <- advanced.procD.lm(f1, …)

then the P.values are extractable objects; e.g.,

myFit$P.means.dist

Cheers!
Mike
On Jun 27, 2017, at 2:41 PM, broc....@mines.sdsmt.edu wrote:

Hello all,

I use the function advanced.procD.lm() to generate pairwise comparisons among various groups I am analyzing and would like to apply corrections to the resulting p-values (Bonferroni, Holm's, etc.). Because p-values are only part of the function's output, is there a way to extract these values as a data frame so I can carry out these corrections right in R? Or perhaps there's a slicker way to adjust them within geomorph?

Many thanks in advance!

--
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-package+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages