/
threejs-shiny.Rd
36 lines (29 loc) · 1.16 KB
/
threejs-shiny.Rd
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
28
29
30
31
32
33
34
35
36
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/globe.R, R/scatterplot.R, R/threejs.R
\name{globeOutput}
\alias{globeOutput}
\alias{renderGlobe}
\alias{scatterplotThreeOutput}
\alias{renderScatterplotThree}
\alias{threejs-shiny}
\title{Shiny bindings for threejs widgets}
\usage{
globeOutput(outputId, width = "100\%", height = "600px")
renderGlobe(expr, env = parent.frame(), quoted = FALSE)
scatterplotThreeOutput(outputId, width = "100\%", height = "500px")
renderScatterplotThree(expr, env = parent.frame(), quoted = FALSE)
}
\arguments{
\item{outputId}{output variable to read from}
\item{width, height}{Must be a valid CSS unit (like \code{"100\%"},
\code{"400px"}, \code{"auto"}) or a number, which will be coerced to a
string and have \code{"px"} appended.}
\item{expr}{An expression that generates threejs graphics.}
\item{env}{The environment in which to evaluate \code{expr}.}
\item{quoted}{Is \code{expr} a quoted expression (with \code{quote()})? This
is useful if you want to save an expression in a variable.}
}
\description{
Output and render functions for using threejs widgets within Shiny
applications and interactive Rmd documents.
}