ggstatsplot (version 0.0.6)

subtitle_ggbetween_t_rob: Making text subtitle for the robust t-test (between-subjects designs).

Description

Making text subtitle for the robust t-test (between-subjects designs).

Usage

subtitle_ggbetween_t_rob(data, x, y, tr = 0.1, nboot = 100, k = 3,
  messages = TRUE)

Arguments

data

Dataframe from which variables specified are preferentially to be taken.

x

The grouping variable.

y

The response - a vector of length the number of rows of x.

tr

Trim level for the mean when carrying out robust tests. If you get error stating "Standard error cannot be computed because of Winsorized variance of 0 (e.g., due to ties). Try to decrease the trimming level.", try to play around with the value of tr, which is by default set to 0.1. Lowering the value might help.

nboot

Number of bootstrap samples for computing effect size (Default: 100).

k

Number of digits after decimal point (should be an integer) (Default: k = 3).

messages

Decides whether messages references, notes, and warnings are to be displayed (Default: TRUE).

Examples

Run this code
# NOT RUN {
# with defaults
subtitle_ggbetween_t_rob(
  data = sleep,
  x = group,
  y = extra
)

# changing defaults
subtitle_ggbetween_t_rob(
  data = ToothGrowth,
  x = supp,
  y = len,
  nboot = 10,
  k = 1,
  tr = 0.2
)
# }

Run the code above in your browser using DataCamp Workspace