Learn R Programming

RSDA (version 2.0.4)

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

Description

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

Usage

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

Arguments

info

The information of one "modal" 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.

reduce

A logical value indicating whether values different from zero should be plotted in modal and set graphics.

Value

A plot of one "modal" 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"),
                           variables=c("county", "group", "age","age","age","age"),
                           variables.types=c("$I", "$C", "$C", "$S", "$M","$H"))
sym.modal.plot(data.sym[1,5])
sym.modal.plot(data.sym[1,5], reduce = TRUE)
# }

Run the code above in your browser using DataLab