Skip to content

[Bug]: Computing data using drag-and-drop #2927

@wenyingyao

Description

@wenyingyao

JASP Version

0.19.0

Commit ID

No response

JASP Module

Other

What analysis are you seeing the problem on?

Creating new variable from existing data

What OS are you seeing the problem on?

Windows 11

Bug Description

In the previous version of JASP, we can easily create indicator variable using drag-and-drop, for example, if I want to create an indicator variable "young" based on my existing data "age", I can create a new column, make it have data type Scale, and drag-and-drop "age<30", the computed column will take value of 1 and 0. Now this functionality does not exist any more, and instead shows "TRUE" and "FALSE" in the computed column which are not usable in any subsequent regression analyses. How do I change this without resorting to R code?

Expected Behaviour

Use drag-and-drop to compute indicator variable easily and show them as numerical data that can be used for analysis directly. This is the main reason that I am using JASP for my class that it does not require coding, but now it is not usable for an entry-level data analysis course. At the very least tell people how to change these TRUE/FALSE variables into 1/0 with proper documentation.

Steps to Reproduce

  1. add a column
  2. compute with drag and drop
  3. put in some logical statement
    ...

Log (if any)

No response

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.

Metadata

Metadata

Assignees

Labels

Bug: HighBugs that are negatively affecting the area of the program, but don't need immediate fix.Component: Data Editing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions