Page 1 of 1

error message jamovi system R

Posted: Mon Feb 22, 2021 1:03 pm
by victoria
Hi everyone,

Just for getting to know jamovi a bit more (in particular the Rj editor) I tried to run a simple unpaired t-test using system R.

I have installed an loaded jmvconnect and I tried to run following command:
library(jmvconnect)
t.test(Konzentration~geschlecht, var.equal = TRUE, data=data)

However, I always get the error message "Calling var(x) on a factor x is defunct"

Presumably, I am just missing something simple here, but I don't know how to resolve that problem.

Would appreciate any help,
Thanks in advance,
Victoria

Re: error message jamovi system R

Posted: Mon Feb 22, 2021 2:39 pm
by MAgojam
victoria wrote:However, I always get the error message "Calling var(x) on a factor x is defunct"
Hi, Victoria.
You get this message, because your Konzentration variable in Measure type is seen as Nominal.
With Data-> Setup change it to Continuos.

Cheers,
Maurizio

Re: error message jamovi system R

Posted: Mon Feb 22, 2021 3:27 pm
by victoria
Oh my gosh such a rookie mistake... - I didn't realize that...(even though I should have.....)
Thank you very much!