ewaff.sample.characteristics: Describe samples using the variable of interest and...

View source: R/variable-summaries.r

ewaff.sample.characteristicsR Documentation

Describe samples using the variable of interest and covariates.

Description

Describe samples using the variable of interest and covariates.

Usage

ewaff.sample.characteristics(variable.of.interest, data)

Arguments

variable.of.interest

Name of the variable of interest in colnames(data).

data

Data frame of variables.

Value

A data frame with one row for each continuous or ordinal variable and one row for each level of each categorical variable. In the first case, each row provides the name, mean value and standard deviation of each variable. In the second case (categorical), each row provides the name of the variable level and the number of cases and percentage of cases at that level.


perishky/ewaff documentation built on Nov. 10, 2024, 4:53 p.m.