summarise_df: Summary Statistics for Continuous Variables

Description Usage Arguments Value Warning Examples

Description

This function returns summary statistics (mean, median, minimum, maximum, standard deviation, counts, and missing values) for continuous variables found in a datamfrae

Usage

1
summarise_df(df, vars = names(df))

Arguments

df

a data frame object to report summary statistic values

vars

is a character string (single length or not) of the variables of interest. The default value is it selects all column in df.

Value

Returns a data frame where each row is a column from the original data frame and each column is a summary statistic.

Warning

If columns with non-continuous values (numeric or integer) exist in df, an error is thrown and returns potential columns that you will have to remove for the function to work.

Examples

1

smh-ej/XploreR documentation built on May 13, 2019, 4:46 p.m.