You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to code a simple function to check lm() and glm() models using the DHARMa package, which results in r-base plots. So I was using as.ggplot() to convert it into a ggplot object. This procedure worked well until I gathered a function like this:
I wanted to code a simple function to check lm() and glm() models using the
DHARMa
package, which results in r-base plots. So I was using as.ggplot() to convert it into a ggplot object. This procedure worked well until I gathered a function like this:And got this error message:
Error in plot(cm_simres, asFactor = FALSE) : object 'cm_simres' not found
NOTE:
cm
is a modelcm_simres
when I rand the function with some lm() and "glm()no applicable method for 'as.grob' applied to an object of class "NULL"
I opened this issue because it is probably a ggplotfy problem, I tried to run fix() to find bugs, but It was tricky.
Thanks in advance for any help.
The text was updated successfully, but these errors were encountered: