cschwarz-stat-sfu-ca / BTSPAS

Bayesian Time Stratified Petersen Analysis System
1 stars 3 forks source link

chinook2_fit, can save discrep plot? #16

Closed cschwarz-stat-sfu-ca closed 5 years ago

cschwarz-stat-sfu-ca commented 5 years ago

Can't save the discrepancy plot in chinook2_fit. It uses marrangeGrob which seems to be broken now with plots that span two pages?

Perhaps make two separate pages in a list and return rather than arrange grob?

Or can I convert to faceting with ggplot and avoid using arrangeGrob entirely?

Carl

cschwarz-stat-sfu-ca commented 5 years ago

Fixed. Converted to ggplot with facet_wrap_paginate from ggforce and return a list of pages of plots which can then be saved or manipulated.