get_median_iqr: Title Get Median and IQR for a particular variable.

View source: R/funcs.R

get_median_iqrR Documentation

Title Get Median and IQR for a particular variable.

Description

Does a Mann-Whitney/K-Wallis test if there the output dataframe had a p value column.

Usage

get_median_iqr(data, strata, variable, name, output, round = 2)

Arguments

data

tibble containing data. Can't be a grouped tibble

strata

variable to stratify output by. Needs to be a factor to force to ordering to work.

variable

name of variable to be summarised

name

string name to put in the row.

output

The dataframe to append the requested summary to

round

The number of decimal places to round to.


aasiyahrashan/TableOneDataframe documentation built on Dec. 9, 2024, 4:33 p.m.