get_availability: Get N(%) availability - the number of times the variable is...

get_availabilityR Documentation

Get N(%) availability - the number of times the variable is not NA

Description

Get N(%) availability - the number of times the variable is not NA

Usage

get_availability(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

Variable to check availability for. Can be numeric, string, factor.

name

string name to put into the row

output

The dataframe to append the requested summary to

round

The number of decimal places to round results to.


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