summary.mcposthoc: Summarize a "mcposthoc" object.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/summary.mcposthoc.R

Description

This function extracts the desired portions of an "mcposthoc" object.

Usage

1
2
3
## S3 method for class 'mcposthoc'
summary(object, ph.list = NULL, 
term = NULL, print = TRUE, ...)

Arguments

object

An "mcposthoc" object as returned by function mcposthoc.fnc.

ph.list

The name of the posthoc analysis for which results are desired. For example, if, in function mcposthoc.fnc, argument var was set to list(ph1 = c("PronomOfTheme", "AnimacyOfRec", "DefinOfRec"), ph2 = c("SemanticClass")), ph.list should be one of "ph1" or "ph2". Defaults to NULL. If ph.list = NULL and more than one posthoc analysis was performed, the user will be prompted to select one of the analyses.

term

The model term for which posthoc results are desired. Defaults to NULL, in which case the user will be prompted to select a term.

print

Whether to print to screen the posthoc summary. Defaults to TRUE.

...

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

mcposthoc.fnc; pamer.fnc.

Examples

1
### See examples from mcposthoc.fnc() help page.

LMERConvenienceFunctions documentation built on Oct. 23, 2020, 5:12 p.m.