cloudSh: 3-D Scatter Plots

Description Usage Arguments Value Note Author(s) Examples

Description

Uses the cloud function from the lattice package.

Usage

1
cloudSh(x, data = parent.frame(),adjust.anim=1,options=NULL,...)

Arguments

x

Could be a formula. If so, it should be of the form z~x*y|g1*g2, as in the lattice function cloud.

data

data frame supplying variables for formula x. If variables in x are not found in the data, then they will be searched for in the parent environment.

adjust.anim

Use this to adjust animation speed for oprtimum viewing. The app measures elapsed time to plot the cloud, then attempts to determine a reasonable time interval between successive plots when animation is requested. The interval actually used is the intially-determined interval multiplied by this argument.

options

Options that will be passed to shiny::runApp.

...

Other arguments passed to cloud.

Value

side effects

Note

This is a locally-run Shiny app. It may not work properly on some R Studio Server set-ups, especially on the CentOS operating system. For best views, open the app in the browser.

Author(s)

Homer White hwhite0@georgetowncollege.edu

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
cloudSh(Petal.Length ~ Sepal.Length * Sepal.Width,data=iris,
     group=Species,pch=19,auto.key=TRUE)
# to embed in R Markdown:
cloudSh(Petal.Length ~ Sepal.Length * Sepal.Width,data=iris,
     group=Species,pch=19,auto.key=TRUE,
     options=list(width="100%",height=800))

## End(Not run)

homerhanumat/ShinyLocalEdu documentation built on May 17, 2019, 4:50 p.m.