vis_ngcovar: Violin plots for all pairs of numerical/categorical columns...

Description Usage Arguments Value Examples

View source: R/vis_ngcovar.R

Description

Violin plots for all pairs of numerical/categorical columns in a data frame

Usage

1
vis_ngcovar(.data, ..., .regroup = TRUE)

Arguments

.data

a dataframe

...

you can use this arguement to specify targeted numerical columns that will be used as y-axis variable

.regroup

if TRUE, groups with less than 5 occurences are grouped together under the name "Others_groups"

Value

a list of ggplot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
library(dplyr)
# By regrouping small groups
vis_ngcovar(starwars)

# Without regrouping small groups
vis_ngcovar(starwars, .regroup = FALSE)

# With a target column
vis_ngcovar(starwars, height)

## End(Not run)

BenjaminLouis/datascan documentation built on May 26, 2019, 1:35 p.m.