Learn R Programming

ggstatsplot (version 0.5.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,
  statistic = NULL,
  k = 2L,
  effsize = "eta",
  partial = TRUE,
  ...
)

Arguments

tidy_df

A tidy dataframe.

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, aovlist, "Gam", and "manova".

partial

Logical that decides if partial eta-squared or partial omega-squared are returned (Default: TRUE). If FALSE, eta-squared or omega-squared will be returned.

...

Currently ignored.