Learn R Programming

playwith (version 0.9-7)

latticist: A Lattice GUI

Description

Interactively visualise a data set using Lattice displays.

Usage

latticist(dat,
          reorder.levels = TRUE,
          plot.call = quote(marginals(dat, reorder=FALSE)),
          ...)

Arguments

dat
a data frame containing numeric and/or categorical variables.
reorder.levels
if TRUE, change the ordering of levels of factor variables so they are in order of frequency. Note that this does not change the data, only its internal representation: see reorder. Th
plot.call
call defining the initial plot display.
...
further arguments passed to playwith.

Value

  • invisibly returns the playState object representing the plot window: see playDevCur.

Details

To change the style of lattice graphics, use lattice.options(default.theme=...). See show.settings and simpleTheme.

See Also

playwith, Lattice

Examples

Run this code
if (interactive()) {

library(rattle)
audit <- read.csv(system.file("csv", "audit.csv", package = "rattle"))
latticist(audit)

}

Run the code above in your browser using DataLab