Learn R Programming

ggstatsplot (version 0.4.0)

ggcoefstats_label_maker: Create labels with statistical details for ggcoefstats

Description

Create labels with statistical details for ggcoefstats

Usage

ggcoefstats_label_maker(
  tidy_df,
  glance_df = NULL,
  statistic = NULL,
  k = 2,
  effsize = "eta",
  partial = TRUE,
  ...
)

Arguments

tidy_df

A tidy dataframe.

glance_df

A tidy model summary dataframe (default: NULL). If provided, this dataframe will be used to write caption for the final plot.

statistic

Which statistic is to be displayed (either "t" or "f"or "z") in the label. This is especially important if the x argument in ggcoefstats is a dataframe in which case the function wouldn't know what kind of model it is dealing with.

k

Number of decimal places expected for results displayed in labels (Default : k = 2).

effsize

Character describing the effect size to be displayed: "eta" (default) or "omega". This argument is relevant only for models objects of class aov, anova, and aovlist.

partial

Logical that decides if partial eta-squared or omega-squared are returned (Default: TRUE). If FALSE, eta-squared or omega-squared will be returned. Valid only for objects of class aov, anova, or aovlist.

...

Currently ignored.