Learn R Programming

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

ggvis (version 0.3.0.1)

Interactive grammar of graphics

Description

ggvis implements a 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.3.0.1

License

GPL-2

Maintainer

Winston Chang

Last Published

June 23rd, 2014

Functions in ggvis (0.3.0.1)

auto_group

Automatically group data by grouping variables
is.ggvis

Is an object a ggvis object?
ggvis_scale

Create a new ggvis_scale object.
add_relative_scales

Add x_rel and y_rel scales
add_axis

Add a vega axis specification to a ggvis plot
group_by

Divide data into groups.
is.dynamic

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

Display data with bars (a barchart).
compute_count

Count data at each location
compute_bin

Bin data along a continuous variable
prop_domain

Property domain.
dplyr-ggvis

Dplyr verbs for ggvis.
axis_props

Create an axis_props object for controlling axis properties.
compute_align

Align positions using length.
add_guide_legend

Defunct function for adding a legend
is.scaled_value

Tests whether an object is a scaled_value object
set_scale_label

Set the label for a scale
as.vega

Coerce an ggvis object to a vega list.
scaletype_to_vega_scaletype

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

Handlers and interactive inputs for plot sizing.
add_guide_axis

Defunct function for adding an axis
padding

Define padding.
marks

Vega marks.
show_tooltip

Send a message to the client to show or hide a tooltip
%>%

Pipe graphics
add_data

Add dataset to a visualisation
resolution

Compute the "resolution" of a data vector.
scale_ordinal

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

Create a scaled_value object
input_checkbox

Create an interactive checkbox.
ggvisControlOutput

Create a ggvis control output element in UI
ggvis

Visualise a data set with a ggvis graphic.
add_props

Add visual properties to a visualisation
input_slider

Create an interactive slider.
layer_guess

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

Add arbitrary scales to ggvis.
fullseq

Generate sequence of fixed size intervals covering range.
props

Manage a list of properties.
compute_tabulate

Count data at each location of a categorical variable
input_text

Create an interactive text or numeric input box.
create_broker

Create a broker object
layer_densities

Transformation: density estimate
compute_smooth

Smooth data with a model.
knit_print.ggvis

Knit print method for ggvis plots.
cocaine

Cocaine seizures in the US.
band

A band
is.axis_props

Tests whether an object is an axis_props object
add_legend

Add a vega legend specification to a ggvis plot
sidebarBottomPage

Create a page with a sidebar
layer_histograms

Display binned data
get_data

Get data from a ggvis object
mark

Create a new "mark" object.
default_options

Default options
input_select

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

View in a ggvis plot in the browser.
filter

Filter
add_tooltip

Add tooltips to a plot.
ggvis_message

Send a message to ggvis running on client
is.legend_props

Tests whether an object is a legend_props object
left_right

Interactive inputs bound to arrow keys.
new_prop

Create new prop object
explain

Explain details of an object
handle_click

Handle mouse actions on marks.
shiny-ggvis

Connect a ggvis graphic to a shiny app.
zero_range

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

Tools to save and view static specs.
scale_numeric

Add a numeric scale to a ggvis object.
scale_datetime

Add a date-time scale to a ggvis object.
is.broker

Determine if an object is a broker object
layer_lines

Layer lines on a plot.
legend_props

Create an axis_props object for controlling legend properties.
prop

Create a property.
vector_type

Determine the "type" of a vector
set_options

Set options for a ggvis plot
waggle

Waggle back and forth between two numbers
create_input

Create a new interactive "input" object.
scales

Add a scale to a ggvis plot
show_spec

Print out the vega plot specification
vega_data_parser

Determine the vega data type for a vector
handle_brush

Handle brush events on a visualisation.
layer_model_predictions

Overlay model predictions or a smooth curve.
linked_brush

Create a linked brush object.
compute_stack

Stack overlapping data.
compute_density

Compute density of data.
propname_to_scale

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

Create a new layering function.
explain.ggvis

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

Export a PNG or SVG from a ggvis object
singular

singular.