Rj Editor vs. Rj Editor+

Discuss the jamovi platform, possible improvements, etc.
Post Reply
Frank.M.LoSchiavo
Posts: 20
Joined: Tue Apr 06, 2021 6:35 pm

Rj Editor vs. Rj Editor+

Post 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
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: Rj Editor vs. Rj Editor+

Post 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 113 times
Frank.M.LoSchiavo
Posts: 20
Joined: Tue Apr 06, 2021 6:35 pm

Re: Rj Editor vs. Rj Editor+

Post 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
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: Rj Editor vs. Rj Editor+

Post 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
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Rj Editor vs. Rj Editor+

Post 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
Frank.M.LoSchiavo
Posts: 20
Joined: Tue Apr 06, 2021 6:35 pm

Re: Rj Editor vs. Rj Editor+

Post by Frank.M.LoSchiavo »

jonathon wrote: Fri Jan 13, 2023 11:40 pm both will continue.
Interesting. Thanks for the info.
User avatar
seol
Posts: 158
Joined: Mon Dec 04, 2017 8:40 am
Location: Seoul, Korea
Contact:

Re: Rj Editor vs. Rj Editor+

Post by seol »

Attaching variable to datasheet is a very useful function with Rj Editor+ shown below.

Image
Attachments
이미지 001.png
이미지 001.png (58.73 KiB) Viewed 1958 times
Post Reply