dmirman-zz / gazer

Functions for reading and pre-processing eye tracking data.
16 stars 14 forks source link

Error: Problem with `mutate()` input `extendblink`. #17

Open munoztd0 opened 4 years ago

munoztd0 commented 4 years ago

Hello there,

I keep having the same error when trying to follow you vignette tutorial when I run :

pup_extend<- pup_missing %>% group_by(subject, trial) %>%

I get : Error: Problem with mutate() input extendblink. x NA/NaN argument ℹ Input extendblink is extend_blinks(pupil, fillback = 100, fillforward = 100). ℹ The error occurred in group 1: subject = "10b", trial = 6.

Have you already run into something similar or so?

Thanks in advance!

David

jgeller112 commented 4 years ago

How did you install gazer? If you are using dmirman-zz/gazer then you are not using the correct package. Please use dmirman/gazer instead.

Here is a more detailed paper that you should be following:

https://link.springer.com/article/10.3758/s13428-020-01374-8

J

jgeller112 commented 4 years ago

Should be: extend_blinks(pupil, fillback = 100, fillforward = 100, hz=). You need to input sampling rate of the tracker.

munoztd0 commented 4 years ago

I dowloaded it from dmirman/gazer. I have looked at you paper but I guess it is just a shame that the code are images instead of snipets which is really not practical.

But thanks for your really cool package.

jgeller112 commented 4 years ago

I dowloaded it from dmirman/gazer. I have looked at you paper but I guess it is just a shame that the code are images instead of snipets which is really not practical.

But thanks for your really cool package.

download this: https://psyarxiv.com/4qwr8/

jgeller112 commented 4 years ago

I dowloaded it from dmirman/gazer. I have looked at you paper but I guess it is just a shame that the code are images instead of snipets which is really not practical.

I totally agree with you :). BRM would not budge.

jgeller112 commented 4 years ago

Issue solved?

munoztd0 commented 4 years ago

Well to be truthful, I gave up because there were "errors" in the code snippet also in the https://psyarxiv.com/4qwr8/.

jgeller112 commented 4 years ago

Can you please let me known were so I can fix them in the preprint?

Thanks

Jason Geller, Ph.D. Research Programmer RuCCS, The Center for Cognitive Science 152 Frelinghuysen Roadhttps://www.google.com/maps/search/152+Frelinghuysen+Road?entry=gmail&source=g, A122, Busch Campus Piscataway, New Jersey 08854 Email: Jason.geller@ruccs.rutgers.edu

On Aug 18, 2020, at 5:08 AM, David Muñoz Tord notifications@github.com wrote:



Well to be truthful, I gave up because there were "errors" in the code snippet also in the https://psyarxiv.com/4qwr8/.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/dmirman-zz/gazer/issues/17#issuecomment-675359810, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEMTQEAEQJ423DQHJOFYORDSBJAKFANCNFSM4P5BXW4A.

jgeller112 commented 4 years ago

Additionally, I would check out the gaze_walkthrough.R file (on our Github) which opens up the code snippets in R for ease of copying and pasting.