tests/testthat/plot-multi-layout.R

for (j in 1:3) {
  layout(matrix(c(1, 2, 1, 3, 4, 4), 3, 2, byrow = TRUE))
  plot(rnorm(10))
  plot(rnorm(10))
  plot(rnorm(10))
  plot(rnorm(10))
}

Try the evaluate package in your browser

Any scripts or data that you put into this service are public.

evaluate documentation built on Nov. 2, 2023, 5:18 p.m.