Dear list members,
I am trying the following plot in Lattice:
library(lattice)
library(datasets)
data(CO2)
xyplot(uptake ~ conc | Type * Treatment,
groups = Plant, type = b, lty = rep(1:3, 4), strip = strip.custom(
var.name = c(Type,
Treatment ), strip.names = c(T,T), style = 3), data =
Does that help you?
library(lattice)
library(datasets)
data(CO2)
levels(CO2$Type) - c(A, B)
levels(CO2$Treatment) - c(no enfriado, enfriado)
xyplot(uptake ~ conc | Type * Treatment,
groups = Plant, type = b, lty = rep(1:3, 4), strip = strip.custom(
var.name = c(Type,
Treatment ), strip.names
That works perfect.
Thank you very much Johannes.
Best,
Manuel
2011/6/24 Johannes Signer j.m.sig...@gmail.com
Does that help you?
library(lattice)
library(datasets)
data(CO2)
levels(CO2$Type) - c(A, B)
levels(CO2$Treatment) - c(no enfriado, enfriado)
xyplot(uptake ~ conc | Type *