gg_count: create a counts plot

Description Usage Arguments Details Value

View source: R/gg_count.R

Description

count plot

Usage

1
2
gg_count(df, x, y, counts = "abs", angle = 35, hjust_x = 1, vjust_y = 0,
  ...)

Arguments

df

dataframe

x

x variable

y

y variable

counts

absolute number or relative, see details, Default: 'rel'

angle

angle passed to theme axis.text Default: 35

hjust_x

hjust passed to theme axis.text.x, Default: 1

vjust_y

vjust passed to theme axis.text.y, Default:0

...

PARAM_DESCRIPTION

mapping

aes passed to ggplot

Details

proably not working - needs debugging to det the rlang correct...

counts: one of 'abs' or 'rel'. To be expanded.

Value

ggplot object


AstraZeneca/pmxplore documentation built on May 28, 2019, 11:04 a.m.