vegalite0.6.1 package

Tools to Encode Visualizations with the 'Grammar of Graphics'-Like 'Vega-Lite' 'Spec'

scale_y_threshold

Threshold Scale

scale_y_time

Temporal Scale

sort_def

Create a sort definition object

timeunit_x

How to encode x-axis time values

timeunit_y

How to encode y-axis time values

to_spec

Convert a spec created with widget idioms to JSON

vegalite-package

Create Vega-Lite specs using htmlwidget idioms

vegalite

Create and (optionally) visualize a Vega-Lite spec

vegaliteOutput

Widget output function for use in Shiny

add_data

Add data to a Vega-Lite spec

add_filter

Add a filter

axis_facet_col

General axis setttings (column facet)

axis_facet_row

General axis setttings (row facets)

axis_x

General axis setttings (x-axis)

axis_y

General axis setttings (y-axis)

bin_x

Group continuous data values (x-axis)

bin_y

Group continuous data values (y-axis)

calculate

Derive new fields

capture_widget

Capture a static (png) version of a widget (e.g. for use in a PDF knit...

cell_size

Add cell size to main Vega-Lite spec

config_color

Color config

config_font

Font config

config_opacity

Opacity config

config_stroke

Stroke config

config_text

Text config

embed_spec

Scaffold HTML/JavaScript/CSS code from vegalite

encode_color

Encode color "channel"

encode_detail

Encode detail "channel"

encode_order

Encode detail "order"

encode_path

Encode detail "path"

encode_shape

Encode shape "channel"

encode_size

Encode size "channel"

encode_text

Encode text "channel"

encode_x

Encode x "channel"

encode_y

Encode y "channel"

facet_cell

Facet cell aesthetics

facet_col

Create a horizontal ribbon of panels

facet_row

Create a vertical ribbon of panels

filter_null

Filter 'null' values

from_spec

Take a JSON Vega-Lite Spec and render as an htmlwidget

grid_facet

Facet grid aesthetics

JS

Mark character strings as literal JavaScript code

legend_color

Legend settings (color)

legend_shape

Legend settings (shape)

legend_size

Legend settings (size)

mark_area

Area mark

mark_bar

Bar mark

mark_circle

Circle mark

mark_line

Line mark

mark_point

Point mark

mark_square

Square mark

mark_text

Text mark

mark_tick

Tick mark

reexports

Objects exported from other packages

renderVegalite

Widget render function for use in Shiny

saveWidget

Save a widget to an HTML file

scale_color_nominal

Nominal Color Scale

scale_color_sequential

Sequential Color Scale

scale_shape

Shape Scale

scale_x_linear

Quantitative Scale

scale_x_log

Log Scale

scale_x_ordinal

Ordinal Scale

scale_x_pow

Quantitative Scale

scale_x_quantile

Quantile Scale

scale_x_quantize

Quantize Scale

scale_x_sqrt

Sqrt Scale

scale_x_threshold

Threshold Scale

scale_x_time

Temporal Scale

scale_y_linear

Linear Scale

scale_y_log

Log Scale

scale_y_ordinal

Ordinal Scale

scale_y_pow

Power Scale

scale_y_quantile

Quantile Scale

scale_y_quantize

Quantize Scale

scale_y_sqrt

Sqrt Scale

The 'Vega-Lite' 'JavaScript' framework provides a higher-level grammar for visual analysis, akin to 'ggplot' or 'Tableau', that generates complete 'Vega' specifications. Functions exist which enable building a valid 'spec' from scratch or importing a previously created 'spec' file. Functions also exist to export 'spec' files and to generate code which will enable plots to be embedded in properly configured web pages. The default behavior is to generate an 'htmlwidget'.

  • Maintainer: Bob Rudis
  • License: AGPL + file LICENSE
  • Last published: 2016-03-22