Learn R Programming

lares (version 4.7)

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 = "plot", subtitle = NA, quiet = FALSE)

Arguments

df

Dataframe

return

Character. Return "skimr" for skim report, "numbers" for stats and numbers, "names" for a list with the column names of each of the class types, "plot" for a nice plot with "numbers" output, "summary" for an overall summary plot showing categorical, numeric, and missing values

subtitle

Character. Add subtitle to plot

quiet

Boolean. Keep quiet or show other options available?

See Also

Other Exploratory: corr_cross, corr_var, crosstab, distr, freqs_df, freqs, gain_lift, get_tweets, missingness, plot_cats, plot_df, plot_nums, tree_var, trendsRelated