goodekat / ggResidpanel

An R package for creating a panel of diagnostic plots for residuals from a model.
Other
36 stars 3 forks source link

missing value where TRUE/FALSE needed #15

Open mormegil6 opened 2 years ago

mormegil6 commented 2 years ago

Hi there!

I am trying to use ggResidpanel for my LMMs, created with nlme. However, when I try running resid_panel I receive this error: Error in if ((max(floor(log10(abs(plotly_data[, i] + 0.001))) + 1) > 0)) { : missing value where TRUE/FALSE needed When I try resid_xpanel I receive another error: Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 6711, 7488 Maybe this issue is related to the fact, that the model has quite complex hierarchical structure, however my other slightly less complex model works fine. Edit: my 'less complex' model works with resid_xpanel, but when I try resid_panel I got this error: Error in seq.default(-4 * sd(model_values$Residual), 4 * sd(model_values$Residual), : 'from' must be a finite number