Skip to content

DoE Analysis: Factorial and Interaction plots#470

Open
JTPetter wants to merge 4 commits into
jasp-stats:masterfrom
JTPetter:doeEmPlot
Open

DoE Analysis: Factorial and Interaction plots#470
JTPetter wants to merge 4 commits into
jasp-stats:masterfrom
JTPetter:doeEmPlot

Conversation

@JTPetter

@JTPetter JTPetter commented May 5, 2026

Copy link
Copy Markdown
Contributor
  • Adds factorial and interaction plots to DoE analysis
  • Verified unit tests for the new plots

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@codecov-commenter

codecov-commenter commented May 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 82.50000% with 56 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.89%. Comparing base (8c33634) to head (a6f27ea).

Files with missing lines Patch % Lines
R/doeAnalysis.R 82.50% 56 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #470      +/-   ##
==========================================
- Coverage   84.96%   84.89%   -0.08%     
==========================================
  Files          18       18              
  Lines       10012    10332     +320     
==========================================
+ Hits         8507     8771     +264     
- Misses       1505     1561      +56     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 37 changed files in this pull request and generated 1 comment.

Comment thread R/doeAnalysis.R
Comment on lines +2012 to +2013
stop(gettextf("Error computing emmeans for terms '%s': %s. Prediction fallback failed: %s.",
paste(termNames, collapse = ", "), conditionMessage(e), conditionMessage(e2)))
@JohnnyDoorn

Copy link
Copy Markdown
Contributor

build bot build

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

✅ Build Complete!

Your JASP module bundles have been successfully built for macOS (ARM) and Windows.

👉 Click here to download the artifacts

(Scroll to the bottom of the page to find the "Artifacts" section).

@JohnnyDoorn JohnnyDoorn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • the placeholder plot shows when loading the analysis, which shouldn't be the case
  • the options could be laid out across 2 columns
  • For the interaction plots, would it maybe increase the clarity of the figures if you work with faded colors for the confidence bands, similar to the other descriptives plots in JASP? They currently do look nice and funky, but it's not so easy to get a clear idea of the interactions.
  • the plots appear in the top, changing the plots triggers the main results which is probably not what is needed.
  • to plot the interaction for continuous predictors there is some stratifying going on that can create messy labels - maybe you can take a look at how it's done in regression for stratifying continuous predictors: jasp-stats/jaspRegression#514

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.

4 participants