ard_moodtest {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_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")

[Package cardx version 0.1.0 Index]