vis_ggcovar: Visualise frequency of paired group between categorical...

Description Usage Arguments Value Examples

View source: R/vis_ggcovar.R

Description

Visualise frequency of paired group between categorical variables in a data frame

Usage

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

Arguments

.data

a data frame

...

you can use this arguement to specify targeted categorical 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_ggcovar(starwars)

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

# With a target column
vis_ggcovar(starwars, skin_color)

## End(Not run)

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