add_scale: Add arbitrary scales to ggvis.

View source: R/ggvis.R

add_scaleR Documentation

Add arbitrary scales to ggvis.

Description

Add arbitrary scales to ggvis.

Usage

add_scale(vis, scale, data_domain = TRUE)

Arguments

vis

Visualisation to modify.

scale

Scale object

data_domain

Should the domain be controlled by a data set which is added to the spec? Should only be set to FALSE in special cases.


rstudio/ggvis documentation built on Feb. 5, 2024, 9:13 p.m.