Skip to content
Prev 336738 / 398513 Next

plot a list of trellis objects

How about


lattice.plots <- list(xyplot(rnorm(10) ~ 1:10, type = "b"),
                                     xyplot(rnorm(10) ~ 1:10, type = "b"),
                                     xyplot(rnorm(10) ~ 1:10, type = "b"),
                                    xyplot(rnorm(10) ~ 1:10, type = "b"))

do.call(grid.arrange, lattice.plots)

There is most likely a loop hidden somewhere in the do.call function ;-)


Yours sincerely / Med venlig hilsen


Frede Aakmann T?gersen
Specialist, M.Sc., Ph.D.
Plant Performance & Modeling

Technology & Service Solutions
T +45 9730 5135
M +45 2547 6050
frtog at vestas.com
http://www.vestas.com

Company reg. name: Vestas Wind Systems A/S
This e-mail is subject to our e-mail disclaimer statement.
Please refer to www.vestas.com/legal/notice
If you have received this e-mail in error please contact the sender.