Learn R Programming

vdmR (version 0.2.6)

vhist: Generate histogram with interactive functions

Description

vscat generates histogram of variable x of data frame data with interactive functions.

Usage

vhist(x, data, name, tag, path = tempdir(), ...)

Arguments

x

column name of data frame data for drawing histogram

data

data frame for default data set

name

character for the name of the generated histogram

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)
vhist(FertilityRate, vsfuk2012, "hist1", "vsfuk2012", fill=Type)
vlaunch(vsfuk2012, "main", "vsfuk2012", browse=FALSE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab