jashubbard / edfR

an R package for importing EDF files from Eyelink eyetrackers
23 stars 4 forks source link

Batch import of headref #6

Closed fusaroli closed 8 years ago

fusaroli commented 8 years ago

sorry for bothering again, but just a small thing: is there a way to import head references from edf.batch? That is, "hxL", "hxR", "hyL", "hyR".

I wrote my own loop to do that relying on edf.samples, but using edf.batch would get me much cleaner code.

jashubbard commented 8 years ago

Ok, I've added that functionality to edf.batch. You can now specify fields you want using sample.fields and/or event.fields.

fusaroli commented 8 years ago

thanks