ard_moodtest: ARD Mood Test

View source: R/ard_moodtest.R

ard_moodtestR 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_moodtest(data, by, variable, ...)

Arguments

data

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

by

(tidy-select)
column name to compare by.

variable

(tidy-select)
column name to be compared.

...

arguments passed to mood.test(...)

Details

For the ard_moodtest() 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_moodtest(by = "SEX", variable = "AGE")

cardx documentation built on May 29, 2024, 11:04 a.m.