Skip to content

[Bug]: converting female and male values to 1 and 0 using the 'drag and drop #3070

@Rasan17

Description

@Rasan17

JASP Version

0.19.1

Commit ID

No response

JASP Module

Other

What analysis are you seeing the problem on?

creating a new variable

What OS are you seeing the problem on?

macOS Silicon

Bug Description

I want to convert the variable 'sex' to have 1 for female and 0 for male. I managed do to this R:ifelse(Sex == "F", 1, 0)

However, how do the same covertion with with "drag and drop'? (tried few times with 'Sex=F', with no success

Expected Behaviour

it shouls create a new column with and 0

Steps to Reproduce

1.add new varable
2.formula creator
3.drag and drop
4. Sex=F
...

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

Waiting for requesterIf waiting for a long time it is reasonable to close an issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions