Closed dsmi313 closed 1 year ago
Confirmed this remains a bug in the current development version too
Thanks @dsmi313 this is now fixed in the version on GitHub
It works with the small data set but with my larger data set I get this error:
Error in bind_cols()
:
! Can't recycle level
(size 2128) to match partial
(size 237).
The same thing listed on this post: https://github.com/gavinsimpson/gratia/issues/219
Sorry I am realizing its a problem with my NAs after reading that post more carefully.
I have a data set:
and I am running a gam with that data set and trying to draw it in gratia:
I get the error:
! Can't combine
x[[1]]$level<ordered<7ed0c>> and
x[[3]]$level<ordered<8fa51>>.
However when I call the parametric terms individually:draw(parametric_effects(gam,terms = "survey_type"))
I do not get the error.
What is going on here? I have gratia_0.7.3.18