error message jamovi system R

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
victoria
Posts: 2
Joined: Mon Feb 22, 2021 12:55 pm

error message jamovi system R

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

Re: error message jamovi system R

Post 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
victoria
Posts: 2
Joined: Mon Feb 22, 2021 12:55 pm

Re: error message jamovi system R

Post by victoria »

Oh my gosh such a rookie mistake... - I didn't realize that...(even though I should have.....)
Thank you very much!
Post Reply