Learn R Programming

⚠️There's a newer version (0.4.9) of this package.Take me there.

ggvis (version 0.4.1)

Interactive Grammar of Graphics

Description

An implementation of an interactive grammar of graphics, taking the best parts of ggplot2, combining them with shiny's reactive framework and drawing web graphics using vega.

Copy Link

Version

Install

install.packages('ggvis')

Monthly Downloads

3,643

Version

0.4.1

License

GPL-2 | file LICENSE

Maintainer

Winston Chang

Last Published

March 12th, 2015

Functions in ggvis (0.4.1)

add_tooltip

Add tooltips to a plot.
export_png

Export a PNG or SVG from a ggvis object
explain.ggvis

Print out the structure of a ggvis object in a friendly format
add_axis

Add a vega axis specification to a ggvis plot
compute_tabulate

Count data at each location of a categorical variable
add_guide_axis

Defunct function for adding an axis
compute_model_prediction

Create a model of a data set and compute predictions.
axis_props

Create an axis_props object for controlling axis properties.
compute_align

Align positions using length.
create_input

Create a new interactive "input" object.
auto_group

Automatically group data by grouping variables
is.dynamic

Determine if an ggvis is dynamic (i.e. needs to be run in a shiny app)
explain

Explain details of an object
handle_click

Handle mouse actions on marks.
layer_boxplots

Display data with a boxplot.
is.scaled_value

Tests whether an object is a scaled_value object
add_scale

Add arbitrary scales to ggvis.
ggvisControlOutput

Create a ggvis control output element in UI
compute_density

Compute density of data.
add_relative_scales

Add x_rel and y_rel scales
fullseq

Generate sequence of fixed size intervals covering range.
add_props

Add visual properties to a visualisation
as.vega

Coerce an ggvis object to a vega list.
add_data

Add dataset to a visualisation
dplyr-ggvis

Dplyr verbs for ggvis.
compute_boxplot

Calculate boxplot values
is.axis_props

Tests whether an object is an axis_props object
add_legend

Add a vega legend specification to a ggvis plot
props

Manage a list of properties.
create_broker

Create a broker object
linked_brush

Create a linked brush object.
input_text

Create an interactive text or numeric input box.
handle_resize

Handlers and interactive inputs for plot sizing.
compute_count

Count data at each location
is.broker

Determine if an object is a broker object
vector_type

Determine the "type" of a vector
scale_datetime

Add a date-time scale to a ggvis object.
%>%

Pipe graphics
ggvis_message

Send a message to ggvis running on client
propname_to_scale

Convert the name of a property to the name of its default scale.
padding

Define padding.
layer_lines

Layer lines on a plot.
show_tooltip

Send a message to the client to show or hide a tooltip
cocaine

Cocaine seizures in the US.
default_options

Default options
scales

Add a scale to a ggvis plot
compute_stack

Stack overlapping data.
sidebarBottomPage

Create a page with a sidebar
is.ggvis

Is an object a ggvis object?
get_data

Get data from a ggvis object
layer_model_predictions

Overlay model predictions or a smooth curve.
ggvisOutputElements

Create HTML elements for ggvis output
ggvis_scale

Create a new ggvis_scale object.
input_select

Create interactive control to select one (or more options) from a list.
show_spec

Print out the vega plot specification
is.legend_props

Tests whether an object is a legend_props object
layer_histograms

Display binned data
save_spec

Tools to save and view static specs.
handle_brush

Handle brush events on a visualisation.
shiny-ggvis

Connect a ggvis graphic to a shiny app.
vega_data_parser

Determine the vega data type for a vector
layer_densities

Transformation: density estimate
waggle

Waggle back and forth between two numbers
group_by

Divide data into groups.
left_right

Interactive inputs bound to arrow keys.
layer_guess

Guess the right type of layer based on current properties.
new_prop

Create new prop object
mark

Create a new "mark" object.
scale_numeric

Add a numeric scale to a ggvis object.
prop

Create a property.
zero_range

Determine if range of vector is close to zero, with a specified tolerance
layer_f

Create a new layering function.
set_scale_label

Set the label for a scale
input_checkbox

Create an interactive checkbox.
subvis

Create a subvisualisation.
resolution

Compute the "resolution" of a data vector.
bin_vector

Bin vectors
prop_domain

Property domain.
singular

singular.
print.ggvis

View in a ggvis plot in the browser.
scale_ordinal

Add a ordinal, nominal, or logical scale to a ggvis object.
scaletype_to_vega_scaletype

Given the type of a ggvis scale, get the name of its corresponding vega scale
scaled_value

Create a scaled_value object
marks

Vega marks.
ggvis

Visualise a data set with a ggvis graphic.
legend_props

Create an axis_props object for controlling legend properties.
input_slider

Create an interactive slider.
knit_print.ggvis

Knit print method for ggvis plots.
band

A band
compute_bin

Bin data along a continuous variable
layer_bars

Display data with bars (a barchart).
set_options

Set options for a ggvis plot
add_guide_legend

Defunct function for adding a legend