Learn R Programming

lares (version 4.4)

df_str: Dataset columns and rows structure

Description

This function lets the user to check quickly the structure of a dataset (data.frame). It returns multiple counters for useful metrics, a plot, and a list of column names for each of the column metrics.

Usage

df_str(df, return = "skimr", plot = TRUE, subtitle = "")

Arguments

df

Dataframe

return

Character. Return "skimr" for skim results, "numbers" for numbers, or "names" for column names of each of the cateogries

plot

Boolean. Do you wish to see a plot?

subtitle

Character. Add subtitle to plot