Learn R Programming

vdmR (version 0.2.6)

vscat: Generate scatter plot with interactive functions

Description

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

Usage

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

Run this code
# NOT RUN {
data(vsfuk2012)
vscat(MarriageRate, DivorceRate, vsfuk2012, "scat1", "vsfuk2012", colour=Type)
vlaunch(vsfuk2012, "main", "vsfuk2012", browse=FALSE)

# }

Run the code above in your browser using DataLab