Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support performance_simres class #312

Closed
wants to merge 7 commits into from
Closed

Conversation

strengejacke
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Oct 27, 2023

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).

❗ 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 ⚠️
R/data_plot.R 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@strengejacke
Copy link
Member Author

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

@strengejacke strengejacke deleted the performance_simulated_res branch March 15, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant