scatterDF: Dynamic Faceting in Scatter Plots

Description Usage Arguments Value Note Author(s) Examples

Description

Interactively facet a scatterplot by a third variable.

Usage

1

Arguments

form

a formula, of the form y~x|z, where z is the facetting variable (must be numeric or a factor).

data

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

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.

Author(s)

Homer White hwhite0@georgetowncollege.edu

Examples

1
2
3
4
5
6
## Not run: 
scatterDF(Sepal.Length~Sepal.Width|Species,data=iris)
if (require(ggplot2)) scatterDF(price ~ carat | clarity, data = diamonds)
if (require(mosaicData)) scatterDF(sat ~ salary | frac, data = SAT)

## End(Not run)

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