See vegawidget::knit_print.vegaspec for details, particularly on additional packages that may have to be installed.

knit_print.altair.vegalite.v4.api.TopLevelMixin(spec, ..., options = NULL)

Arguments

spec

An object to be coerced to vegaspec, a Vega/Vega-Lite specification

...

other arguments

options

list, knitr options