s_s: Summary Statistics

View source: R/s_s.R

s_sR Documentation

Summary Statistics

Description

Tabulate summary statistics.

Usage

s_s(x)

Arguments

x

An R object.

Value

A tibble.

If x, or columns in x, are missing-data, the min / max / median / mode / mean are NAs.

min and max: If x, or columns in x, are not numeric or date / date-time objects, the results are NAs.

median and mean: If x, or columns in x, are not numeric, the results are NAs.

mode:

If the mode is missing-data, the result is NA.

If multiple modes exist, the result is "s_mode()".

See Also

s_mode s_unique

Examples

zhaoy::s_s(x = attenu$mag)
zhaoy::s_s(x = attenu)

zhaoy/zhaoy documentation built on Feb. 1, 2024, 7:50 p.m.