sync: Sync & Unsync

Description Usage Arguments Details Examples

View source: R/frame.R

Description

Synchronises variables across planes (plane_wrap), in order to have them share scales.

Usage

1
2
3

Arguments

g2

An object of class g2r as returned by g2r.

...

Bare Column names of variables to synchronise.

Details

By default plane_wrap will sync variables. You can unsync them if undesired.

Examples

1
2
3
4
5
iris %>% 
  g2(asp(Sepal.Length, Sepal.Width)) %>% 
  fig_point(asp(color = Species)) %>% 
  plane_wrap(planes(Species)) %>% 
  unsync(Petal.Length)

JohnCoene/g2r documentation built on March 6, 2021, 8:11 p.m.