summarize_short: Create abbreviated variable summary for table1

View source: R/utils_table.R

summarize_shortR Documentation

Create abbreviated variable summary for table1

Description

[Questioning] This function creates summaries combines multiple summary measures in a single formatted string. Create variable summary for numeric variables. Calculates mean (standard deviation), median (IQR), min-max range and N/% missing elements for a numeric vector.

Create variable summary for integer variables Calculates mean (standard deviation), median (IQR), min-max range and N/% missing elements for a integer vector.

Usage

summarize_short(x)

## S3 method for class 'factor'
summarize_short(x)

## S3 method for class 'numeric'
summarize_short(x)

## S3 method for class 'integer'
summarize_short(x)

## Default S3 method:
summarize_short(x)

Arguments

x

a vector to be summarized

Value

A summarized less detailed version of the input.


visR documentation built on Nov. 21, 2023, 1:07 a.m.