Because we often use the same psychometric measures in studies, we often need to compute variables using some simple algorithm (sum, sum of products, weighted sum, or such), and so we have a bank of syntax that we use for this in SPSS. We can then paste this from one project into the next, for those scales we need. I don't seem to be able to find out how to do this in jamovi. Any ideas?

I've tried turning on syntax mode when using the 'compute' features in jamovi, but no syntax comes out (that would be nice).

I've also tried this kind of thing in Rj editor:

- Code: Select all
`data$test <- data$Sepal.Length + data$Sepal.Width`

That doesn't seem to write the new variable to the dataset. Is there a way to do that in Rj editor?