detail: Details an object

View source: R/detail.R

detailR Documentation

Details an object

Description

Provides details about an object

Usage

detail(x, ...)

## Default S3 method:
detail(x, factor_n = 5L, ...)

## S3 method for class 'data.frame'
detail(x, factor_n = 5L, ...)

Arguments

x

An object

...

Additional arguments passed to methods

factor_n

An integer threshold for making factors; will convert any character vectors with factor_n or less unique values into a fact; setting as NA will ignore this

Examples

x <- sample(letters[1:4], 10, TRUE)
detail(x)

df <- quick_df(list(
  x = x,
  y = round(runif(10), 2),
  z = Sys.Date() + runif(10) * 100
))

detail(df)

mark documentation built on May 29, 2024, 5:13 a.m.