[RESOLVED] Unknown Error with linReg

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)

by knapster12 » Sun Jul 29, 2018 9:52 pm

When I use linReg to run a model, I get an error "Error in eval(predvars, data, env) : object '.RW5qb3k' not found." The object is always a different combination of numbers and letters, and I am not sure where this is coming from.

I have attached the data as a .csv.

* I have updated R Studio, packages, etc. I clear my environment before I begin anything. Not sure where to go from here so any and all help is welcome!

model1 <- linReg(data = dat, dep = 'Intent', blocks = list(c('Enjoy')), stdEst = TRUE)
model1
Attachments
RegDemo.1.csv
(26.97 KiB) Downloaded 134 times
knapster12
 
Posts: 5
Joined: Thu May 17, 2018 6:19 am

by jonathon » Sun Jul 29, 2018 10:07 pm

thanks knapster,

we'll take a look.

jonathon
User avatar
jonathon
 
Posts: 994
Joined: Fri Jan 27, 2017 10:04 am

by knapster12 » Thu Aug 30, 2018 12:42 am

I have uninstalled RStudio and re-installed, but I am still having trouble. I'm not sure if I should attempt to use an earlier version of the jmv package?
knapster12
 
Posts: 5
Joined: Thu May 17, 2018 6:19 am

by jonathon » Thu Aug 30, 2018 1:40 am

aargh, sorry knapster,

i totally forgot about this.

we'll take a look (and do feel free to chase us up more aggressively in future!)

jonathon
User avatar
jonathon
 
Posts: 994
Joined: Fri Jan 27, 2017 10:04 am

by jonathon » Thu Aug 30, 2018 1:45 am

i think you need to specify that 'Enjoy' is a covariate with the covs argument:

Code: Select all
jmv::linReg(
    data = data,
    dep = "Intent",
    covs = "Enjoy")


jonathon
User avatar
jonathon
 
Posts: 994
Joined: Fri Jan 27, 2017 10:04 am

by Ravi » Thu Aug 30, 2018 4:06 am

Yup, you need to specify it in "covs" and "blocks" at the moment as follows:
Code: Select all
model <- jmv::linReg(data = data,
                     dep = "Intent",
                     covs = "Enjoy",
                     blocks = list("Enjoy"),
                     stdEst = TRUE)

I know this is pretty tedious and it is something I'd like to improve in the future.
User avatar
Ravi
 
Posts: 143
Joined: Sat Jan 28, 2017 11:18 am

by knapster12 » Thu Aug 30, 2018 8:42 pm

Thanks Ravi and Jonathon, the covs and blocks being the same worked well!
knapster12
 
Posts: 5
Joined: Thu May 17, 2018 6:19 am


Return to Help