# NOT RUN {
# }
# NOT RUN {
latexSetOptions()
filenames <-
structure(c("tt010.pdf", "tt007.pdf", "tt004.pdf", "tt001.pdf",
"tt011.pdf", "tt008.pdf", "tt005.pdf", "tt002.pdf",
"tt012.pdf", "tt009.pdf", "tt006.pdf", "tt003.pdf"),
.Dim = c(4L, 3L),
.Dimnames = structure(list(
rr = c("d", "c", "b", "a"),
cc = c("E", "F", "G")),
.Names = c("rr", "cc")),
axis.names = structure(c("tt013.pdf", "tt014.pdf"), .Names = c("x", "y")),
lab.names = structure(c("tt015.pdf", "tt016.pdf"), .Names = c("x", "y")),
key.name = "tt017.pdf",
class = c("microplotMatrix", "matrix"))
filenames
as.includegraphics(filenames, wd=".")
as.includegraphics(filenames, wd=".", as.attr=FALSE) ## default
as.includegraphics(filenames, wd=".", as.attr=TRUE)
as.includegraphics(filenames, wd=".", columnKey=1)
as.includegraphics(filenames, wd=".", columnKey=1:3)
as.includegraphics(filenames, wd=".", xlab=TRUE, ylab=TRUE)
as.includegraphics(filenames, wd=".",
label.x.axis="X tick values", label.y.axis="Y tick values")
tt <- data.frame(x=1:4, y=c(2,3,4,1), group=c("A","A","B","B"))
latex(lattice::xyplot(y ~ x | group, data=tt))
latex(lattice::xyplot(y ~ x | group, data=tt),
label.x.axis="X Range", label.y.axis="Y Range")
demo("AEdotplot", package="microplot", ask=TRUE)
# }
Run the code above in your browser using DataLab