Page 1 of 1

Rj Editor vs. Rj Editor+

Posted: Thu Jan 12, 2023 2:53 pm
by Frank.M.LoSchiavo
Is there a simple explanation of the difference between Rj Editor and Rj Editor+?
Why is there a need for both options?

Thx.

FML

Re: Rj Editor vs. Rj Editor+

Posted: Thu Jan 12, 2023 6:19 pm
by MAgojam
Hey FML, welcome back.

Something simple and minimal but which recalls the (+) is the possibility of obtaining output variables very easily/fast directly in the worksheet.
On these variables (excluding the Filter) you can apply e.g. Compute or Transform to create another type.
I am attaching a jamovi file with Iris data and a few lines of code in Rj Editor+ to create two new output variables (Mahalnobis distances on the centered data and Outliers) in the sheet.
On the outliers variable generated with the code in the editor+ a new nrow_outliers variable is computed which, only for the cases with outliers == "Yes", shows the row number.

The code also works with Rj editor, but it doesn't create the output variables in the sheet.
The data <- cbind(df) does its dirty work only in the plus.

Cheers,
Maurizio
Rj_iris_dist-mahalanobis_outliers.omv
(5.34 KiB) Downloaded 956 times

Re: Rj Editor vs. Rj Editor+

Posted: Fri Jan 13, 2023 12:17 am
by Frank.M.LoSchiavo
Ah, I see. So, beyond the general difference in user experience, Rj+ is able to do some things Rj cannot.

Thanks for providing an example, Maurizio. Do you foresee the need for both Rj and Rj+ in the future, or will one prevail and be the only option?

Thx.

FML

Re: Rj Editor vs. Rj Editor+

Posted: Fri Jan 13, 2023 7:27 pm
by MAgojam
Frank.M.LoSchiavo wrote: Fri Jan 13, 2023 12:17 am Do you foresee the need for both Rj and Rj+ in the future, or will one prevail and be the only option?
Hi FML,
the Rj module is a creature of @Jonathon and is perhaps the most suitable for predicting possible future changes to the module.
When he reads, maybe he intervenes.
Not to drop your question.

Cheers,
Maurizio

Re: Rj Editor vs. Rj Editor+

Posted: Fri Jan 13, 2023 11:40 pm
by jonathon
both will continue.

Rj has the advantage that you don't need to specify the variables you want to use.
Rj+ has the advantage that it can write variables to the data set

it's not possible to combine both of these features into a single analysis, because it would result in an infinite loop.

jonathon

Re: Rj Editor vs. Rj Editor+

Posted: Sat Jan 14, 2023 11:00 pm
by Frank.M.LoSchiavo
jonathon wrote: Fri Jan 13, 2023 11:40 pm both will continue.
Interesting. Thanks for the info.

Re: Rj Editor vs. Rj Editor+

Posted: Tue Jan 17, 2023 1:42 am
by seol
Attaching variable to datasheet is a very useful function with Rj Editor+ shown below.

Image