File: as.vega.Rd

package info (click to toggle)
r-cran-ggvis 0.4.7%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,716 kB
  • sloc: javascript: 7,373; sh: 25; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vega.R
\name{as.vega}
\alias{as.vega}
\alias{as.vega.ggvis}
\title{Coerce an ggvis object to a vega list.}
\usage{
as.vega(x, ...)

\method{as.vega}{ggvis}(x, session = NULL, dynamic = FALSE, ...)
}
\arguments{
\item{x}{an object to convert to vega}

\item{session}{a session object from shiny}

\item{dynamic}{whether to generate dynamic or static spec}
}
\value{
a list. When converted to JSON, will be the type of structure
  that vega expects.
}
\description{
This generic function powers the coercion of ggvis objects to vega
compatible data structures.
}
\keyword{internal}