jacob-long / jacob-long/interactions

Unexpected behavior of modx.values when values are not repeated

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
R
Stars
135
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Maybe you will want to fix it. `interact_plot()` has a strange behavior when modx.values has a value twice like c(1,1,0,-1). It seems like it treat it as a supplementary moderator. See picture for details.

Thank you for your work and have nice day. Cordialy,

![image](https://user-images.githubusercontent.com/41082179/140669033-fdf6cc02-2625-4a06-95d9-e359cdec08da.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the interact_plot() entry point and reproduce the behavior using modx.values = c(1, 1, 0, -1). Compare the resulting plot with the attached example; done means repeated values are handled as intended rather than treated as a supplementary moderator.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.