Learn R Programming

RSDA (version 2.0.4)

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

Description

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

Usage

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

Arguments

info

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

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 "set" 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.set.plot(data.sym[1,4])
sym.set.plot(data.sym[1,4], reduce = TRUE)
# }

Run the code above in your browser using DataLab