Learn R Programming

vdmR (version 0.2.6)

vlaunch: Generate main window for interactive plot windows

Description

vlauch generates a main window which opens each pre-generated window including statistical plot with interactivity

Usage

vlaunch(data, name, tag, path = tempdir(), iframe = FALSE, browse = TRUE)

Arguments

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

iframe

logical; if TRUE, all plot windows are displayed in the main window as inline frames

browse

logical; if TRUE, browse the main window by the default web browser through the local web server; if FALSE, generating only

Examples

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

Run the code above in your browser using DataLab