Learn R Programming

lares (version 4.7)

freqs_df: All Frequencies on Data Frame

Description

This function lets the user analize data by visualizing the frequency of each value of each column from a whole data frame.

Usage

freqs_df(df, max = 0.9, min = 0, novar = TRUE, plot = TRUE,
  top = 30, quiet = FALSE, save = FALSE, subdir = NA)

Arguments

df

Data.frame

max

Numeric. Top variance threshold. Range: (0-1]. These variables will be excluded

min

Numeric. Minimum variance threshold. Range: [0-1). These values will be grouped into a high frequency (HF) value

novar

Boolean. Remove no variance columns?

plot

Boolean. Do you want to see a plot? Three variables tops

top

Integer. Plot most relevant (less categories) variables

quiet

Boolean. Keep quiet? (or show variables exclusions)

save

Boolean. Save the output plot in our working directory

subdir

Character. Into which subdirectory do you wish to save the plot to?

See Also

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

Other Visualization: corr_plot, distr, freqs, mplot_conf, mplot_cuts_error, mplot_cuts, mplot_density, mplot_full, mplot_gain, mplot_importance, mplot_lineal, mplot_metrics, mplot_response, mplot_roc, mplot_splits, noPlot, plot_survey, theme_lares2, theme_lares, tree_var