-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events are missing #16
Comments
Hi Angelika. Note that the CRAN version of the package is outdated. Make sure you're using the version from GitHub. Install instructions are here. With the GitHub version you should get the event column. Regarding your second question, could you please elaborate on what problem you're trying to solve? I'm not sure what you mean by "workaraound for regression detection". |
Hi Titus. I hope you are doing well! Thank you so much for your answer, that works! However, I seem to not be able to get saccades out of the events nor using the aggregate.saccades function. |
The function for saccades is |
Oh, sorry, scratch that. There is currently no function for saccades. I intended to offer it at some point and had a prototype but apparently never included it in the package. Having said that, anything between two events that you get from |
Hi there, I have followed your instructions above (regarding missing events) but now I get the error message of "Error in detect.fixations(n, lambda = 6, smooth.coordinates = T, smooth.saccades = F) : Samples need to be in chronological order within trial." |
The test for chronological order is this if (! all(with(samples, tapply(time, trial, function(x) all(diff(x) > 0)))))
stop("Samples need to be in chronological order within trial.") I don't see any room for false positives here. Could you please check again? |
Thanks anyway and thank you for your answer :) |
If you need the directions, you'd have to calculate the difference vectors between the x,y-coordinates of two consecutive fixations within trial. There's probably a clever way to do this with Tidyverse, but I don't know it from the top of my head and would have to google it myself. One day I will add that function for saccade info. |
Hi, first of all thank you for providing saccades! I have set up my dataset like the samples dataset, but unfortunately, in the detect.fixations output, the event column is missing. Do you have any idea why this is happening?
I have another question: thank you for providing the aggregate.saccades function. Do you maybe have a workaround for regression detection?
Thank you,
Angelika
The text was updated successfully, but these errors were encountered: