summary.mcposthoc {LMERConvenienceFunctions} | R Documentation |
Summarize a "mcposthoc" object.
Description
This function extracts the desired portions of an "mcposthoc" object.
Usage
## S3 method for class 'mcposthoc'
summary(object, ph.list = NULL,
term = NULL, print = TRUE, ...)
Arguments
object |
An "mcposthoc" object as returned by function |
ph.list |
The name of the posthoc analysis for which results are desired. For example, if, in function |
term |
The model term for which posthoc results are desired. Defaults to |
print |
Whether to print to screen the posthoc summary. Defaults to |
... |
Not used. |
Details
The function creates a summary data frame from statistics obtained from an "mcposthoc" object for the specified term. It goes through each element of the ph.list
– each list element is the summary of the model re-leveled on one factor level (or combination of factor levels) – extracts the row corresponding to the term
, and binds it to the other extracted rows.
Value
ph.list |
The posthoc list in the "mcposthoc" object from which the summary originates. |
term |
The term from the posthoc list for which a summary is desired. |
summary |
The posthoc summary. |
Author(s)
Antoine Tremblay, Statistics Canada, trea26@gmail.com
See Also
Examples
### See examples from mcposthoc.fnc() help page.