ard_stats_mood_test: ARD Mood Test

View source: R/ard_stats_mood_test.R

ard_stats_mood_testR Documentation

ARD Mood Test

Description

Analysis results data for Mood two sample test of scale. Note this not to be confused with the Brown-Mood test of medians.

Usage

ard_stats_mood_test(data, by, variables, ...)

Arguments

data

(data.frame)
a data frame. See below for details.

by

(tidy-select)
column name to compare by.

variables

(tidy-select)
column name to be compared. Independent tests will be run for each variable.

...

arguments passed to mood.test(...)

Details

For the ard_stats_mood_test() function, the data is expected to be one row per subject. The data is passed as mood.test(data[[variable]] ~ data[[by]], ...).

Value

ARD data frame

Examples


cards::ADSL |>
  ard_stats_mood_test(by = "SEX", variables = "AGE")


cardx documentation built on Sept. 11, 2024, 9:12 p.m.