get_unique_count: Count number of unique non-missing values Displays number of...

get_unique_countR Documentation

Count number of unique non-missing values Displays number of non-missing rows.

Description

Count number of unique non-missing values Displays number of non-missing rows.

Usage

get_unique_count(data, strata, variable, name, output)

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

Ideally a factor variable. If not, gets converted to factor anyway.

name

string name to put into the row

output

The dataframe to append the requested summary to


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