Learn R Programming

ggvis (version 0.4.9)

get_data: Get data from a ggvis object

Description

This function is useful for inspecting the data in a ggvis object.

Usage

get_data(vis)

Arguments

vis

A ggvis object.

Examples

Run this code
p <- cocaine %>% ggvis(~price) %>% layer_bars()
get_data(p)

Run the code above in your browser using DataLab