plot_basic_distributions: Plot basic distributions for numeric and string features from...

Description Usage Arguments Value Examples

View source: R/instaeda.R

Description

Plot basic distributions for numeric and string features from a given dataframe

Usage

1
2
3
4
5
6
plot_basic_distributions(
  df,
  cols = NULL,
  include = NULL,
  ggtheme = "theme_economist"
)

Arguments

df

dataframe from which to generate plots for each column from

cols

List of columns to generate plots for. By default, NULL (perform on all numeric).

include

select the data type to include. Supported values include NULL, "string" and "number". When selecting NULL, both string and number datatypes will be returned. By default, NULL.

ggtheme

customize the ggtheme used in plots. Only the following ggthemes are supported: theme_gdocs, theme_excel, theme_economist, theme_wsj, theme_solarized

Value

named list of ggplot objects with each name referencing a column name

Examples

1
2
3
4
 ## Not run: 
 plot_basic_distributions(example_dataframe)
 
## End(Not run)

UBC-MDS/instaeda_R documentation built on March 29, 2021, 7:55 a.m.