Learn R Programming

visR (version 0.4.1)

summarize_short: 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 factor summarize_short(x)

# S3 method for numeric summarize_short(x)

# S3 method for integer summarize_short(x)

# S3 method for default summarize_short(x)

Value

A summarized less detailed version of the input.

Arguments

x

a vector to be summarized