easystats / see

:art: Visualisation toolbox for beautiful and publication-ready figures
https://easystats.github.io/see/
Other
874 stars 43 forks source link

Support performance_simres class #312

Closed strengejacke closed 5 months ago

codecov[bot] commented 10 months ago

Codecov Report

Attention: Patch coverage is 46.15385% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 44.30%. Comparing base (4736d08) to head (f6db6f9).

:exclamation: Current head f6db6f9 differs from pull request most recent head 1f2bf2b. Consider uploading reports for the commit 1f2bf2b to get more accurate results

Files Patch % Lines
R/plot.check_normality.R 45.45% 6 Missing :warning:
R/data_plot.R 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #312 +/- ## ========================================== - Coverage 44.54% 44.30% -0.25% ========================================== Files 66 66 Lines 4806 4772 -34 ========================================== - Hits 2141 2114 -27 + Misses 2665 2658 -7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

strengejacke commented 10 months ago

ok, the QQ plot is still not identical, I guess?

library(performance)
dat <- DHARMa::createData(sampleSize = 100, overdispersion = 0.5, family = poisson())
m <- glm(observedResponse ~ Environment1, family = poisson(), data = dat)
set.seed(123)
res <- simulate_residuals(m)
plot(res)

plot(res, detrend = FALSE)


set.seed(123)
x <- DHARMa::simulateResiduals(m)
plot(x)

Created on 2023-10-30 with reprex v2.0.2