vscat: Generate scatter plot with interactive functions

Description Usage Arguments Examples

View source: R/vscat.R

Description

vscat generates scatter plot of variable x and y of data frame data with interactive functions.

Usage

1
vscat(x, y, data, name, tag, path = tempdir(), ...)

Arguments

x, y

column name of data frame data for x-axis and y-axis of scatter plot

data

data frame for default data set

name

character for the name of the generated scatter plot

tag

character for the common name of a series of linked plots

path

character string of a directory for writing HTML and SVG files

...

aesthetic mappings to be passed to ggplot2 methods

Examples

1
2
3
data(vsfuk2012)
vscat(MarriageRate, DivorceRate, vsfuk2012, "scat1", "vsfuk2012", colour=Type)
vlaunch(vsfuk2012, "main", "vsfuk2012", browse=FALSE)

vdmR documentation built on May 2, 2019, 8:44 a.m.