The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

The tactile theme

tactile

Johan Larsson

2023-05-24

tactile introduces a new theme for latice that does a few things, namely

We now turn to illustrating the differences. First, we use lattice::show.settings() for an overview over the default settings.

library(tactile)
show.settings()
show.settings(tactile.theme())

Then we plot a sample plot (from http://latticeextra.r-forge.r-project.org/).

set.seed(0)

## create a plot to demonstrate graphical settings
obj <- xyplot(
  Sepal.Length + Sepal.Width ~ Petal.Length + Petal.Width,
  iris,
  type = c("p", "r"),
  jitter.x = TRUE,
  jitter.y = TRUE,
  factor = 5,
  auto.key = list(lines = TRUE, rectangles = TRUE, space = "top")
)

obj <- update(
  obj,
  legend = list(
    right = list(
      fun = "draw.colorkey",
      args = list(list(at = 0:100))
    )
  )
)

## draw with default theme
obj

## draw with tactile.theme()
update(obj, par.settings = tactile.theme())

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.