Learn R Programming

RSDA (version 2.0.4)

sym.hist.plot: Function for plotting one "histogram" type value from the symbolic data table

Description

Function for plotting one "histogram" type value from the symbolic data table

Usage

sym.hist.plot(info, col = c("blue"), border = FALSE, ylab = TRUE,
  show.type = TRUE)

Arguments

info

The information of one "histogram" type value. Use data[num.r,num.col] to get info

col

A specification for the default plotting color.

border

A logical value indicating whether border should be plotted.

ylab

A logical value indicating whether the label of y axis has to be plotted.

show.type

A logical value indicating whether type should be plotted.

Value

A plot of one "histogram" type value from the symbolic data table.

Examples

Run this code
# NOT RUN {
data(ex1_db2so)
data.sym <- classic.to.sym(ex1_db2so, concept=c("state", "sex"),
                           col.names = c(county, group, age,age,age,age),
                           variables.types=c(county = type.interval(),
                           group = type.continuous(),
                           age = type.continuous(),
                           age = type.continuous(),
                           age = type.modal(),
                           age = type.histogram()))
sym.hist.plot(data.sym[1,6])
# }

Run the code above in your browser using DataLab