desc_prevalence: Describe the prevalence of a disease/disorder.

Description Usage Arguments Value Examples

Description

Input must be long format with subject id (SID), visit number (VN), and the column(s) to determine the prevalence.

Usage

1
desc_prevalence(.data, .variables)

Arguments

.data

Dataset with SID, VN, and the variable(s) of interest.

.variables

Columns to apply the function to.

Value

Wide dataset with time across the top and various disease/disorder statuses below.

Examples

1
2

lwjohnst86/PROMISE.desc documentation built on May 15, 2019, 5:03 a.m.