ard_stats_mood_test {cardx}R 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")


[Package cardx version 0.2.0 Index]