Learn R Programming

mark (version 0.8.1)

detail: Details an object

Description

Provides details about an object

Usage

detail(x, ...)

# S3 method for default detail(x, factor_n = 5L, ...)

# S3 method for 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

Run this code
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)

Run the code above in your browser using DataLab