freqs_df | R Documentation |
This function lets the user analize data by visualizing the frequency of each value of each column from a whole data frame.
freqs_df(
df,
max = 0.9,
min = 0,
novar = TRUE,
plot = FALSE,
top = 30,
quiet = FALSE,
save = FALSE,
subdir = NA
)
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? |
Plot when plot=TRUE
and data.frame with grouped frequency results
when plot=FALSE
.
Other Frequency:
freqs()
,
freqs_list()
,
freqs_plot()
Other Exploratory:
corr_cross()
,
corr_var()
,
crosstab()
,
df_str()
,
distr()
,
freqs()
,
freqs_list()
,
freqs_plot()
,
lasso_vars()
,
missingness()
,
plot_cats()
,
plot_df()
,
plot_nums()
,
tree_var()
Other Visualization:
distr()
,
freqs()
,
freqs_list()
,
freqs_plot()
,
noPlot()
,
plot_chord()
,
plot_survey()
,
plot_timeline()
,
tree_var()
data(dft) # Titanic dataset
freqs_df(dft)
freqs_df(dft, plot = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.