set_margins: Set margins size.

Description Usage Arguments Value Examples

View source: R/env_functions.R

Description

Currently supported is setting 'top' and 'left' margins. Names of elements in x and keys in ... should be 'top' or 'left'.

Usage

1

Arguments

x

A named list with numeric margin values. Default set to NULL.

...

Key - value pairs, where key is the name of margin and value is a numeric value of a margin.

Value

No return value, called for side effects.

Examples

1
2
3
set_margins(list(top = 75, left = 80))

set_margins(top = 75, left = 80)

tidycharts documentation built on Jan. 18, 2022, 5:07 p.m.