Last chance! 50% off unlimited learning
Sale ends in
latticistCompose(dat, spec = alist(),
datArg = substitute(dat))
latticistParse(call, trellis = NULL)
dat
in the generated call.call
; optional.latticistCompose
returns a call.
latticistParse
returns a list, in the same form as spec
.spec
can include:
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Note that xvar, yvar, zvar, groups, cond, cond2, subset must be
language objects. The easiest way to specify them is to use the
alist()
structure, or equivalently to wrap each element in
quote()
; see examples.latticist
,
LatticelatticistCompose(CO2)
latticistCompose(CO2, spec = alist(xvar = uptake))
latticistCompose(CO2, spec = alist(yvar = uptake))
latticistCompose(CO2, spec = alist(yvar = uptake, ydisc = TRUE))
latticistParse(quote(xyplot(conc ~ uptake | Type, CO2,
type = "p")))
Run the code above in your browser using DataLab