Learn R Programming

oeli (version 0.7.4)

occurrence_info: Provide information about occurrences

Description

This function provides verbose information about absolute or relative element occurrences in data.frame columns.

Usage

occurrence_info(x, relative = FALSE, named = FALSE)

Value

A character().

Arguments

x

[data.frame]
The object to check for occurrences.

relative

[logical(1) ]
The number of rows or columns to be printed, greater or equal 2.

named

[logical(1) ]
Prepend column names of x (if not NA)?

See Also

Other data.frame helpers: delete_columns_data.frame(), group_data.frame(), round_data.frame()

Examples

Run this code
occurrence_info(datasets::warpbreaks, relative = FALSE, named = TRUE)

Run the code above in your browser using DataLab