Hoping for some advice with an error message using the transform function for my uni module.
Using Jamovi in cloud.
When using transform and using ‘add recode condition’ for if/ else…. If I input a word after ‘use’ I get an error message:
Either-
1) ‘word’ does not exist in data set - if using single word
Or
2) ‘word example’ the formula is misspecified- if using 2 words
I am using the word in ‘…’ as above
The function seems to work if I use a number but not words.
I have attached some examples if this helps!
Issues with transform function
-
- Posts: 5
- Joined: Tue Aug 06, 2024 7:45 am
Issues with transform function
- Attachments
-
- IMG_0068.png (441.48 KiB) Viewed 10116 times
-
- IMG_0067.png (442.26 KiB) Viewed 10116 times
-
- IMG_0066.png (441.16 KiB) Viewed 10116 times
Re: Issues with transform function
hi,
if you want to refer to another variable, you surround them with backticks, i.e. `another variable`
if your case, you're using backticks rather than quotation marks.
cheers
if you want a recoded variable to take on a text value, you specify the text value with quotation marks; i.e. "word" or 'word'When using transform and using ‘add recode condition’ for if/ else…. If I input a word after ‘use’ I get an error message:
Either-
1) ‘word’ does not exist in data set - if using single word
if you want to refer to another variable, you surround them with backticks, i.e. `another variable`
if your case, you're using backticks rather than quotation marks.
cheers
-
- Posts: 5
- Joined: Tue Aug 06, 2024 7:45 am
Re: Issues with transform function
Thank you that works!