Re: [R] Still struggling with facet_grid_paginate() from package ggforce.

2019-12-01 Thread Rolf Turner
On 2/12/19 10:45 am, Rui Barradas wrote: Hello, Here are two ways. The first is an adaptation from your code. It uses facet_wrap_paginate, not *_grid_*. plotObj2 <- vector("list",2) for(pg in 1:2) {   plotObj2[[pg]] <- ggplot(egDat) +     geom_point(aes(y = obsd, x = x),  

Re: [R] Still struggling with facet_grid_paginate() from package ggforce.

2019-12-01 Thread Rui Barradas
Hello, Here are two ways. The first is an adaptation from your code. It uses facet_wrap_paginate, not *_grid_*. plotObj2 <- vector("list",2) for(pg in 1:2) { plotObj2[[pg]] <- ggplot(egDat) + geom_point(aes(y = obsd, x = x), na.rm = TRUE, shape = 20, colour = "blue") +