profile: Compact variable profile

View source: R/explore.R

profileR Documentation

Compact variable profile

Description

Return a compact profile table for the variables in a data set.

Usage

profile(data, cols = NULL, top_n = 3)

Arguments

data

A data frame or data table.

cols

Optional character vector of columns to profile.

top_n

Number of most frequent values to show for non-numeric columns.

Value

A basetable with one row per column.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.