Skip to content
Discussion options

You must be logged in to vote

Without seeing more of the code I don't think I can conclusively verify this, but what you've described seems accurate.

If you run jsPsych.data.get().filter({iat_type: 'bad-old'}) then you will get a DataCollection with only the trials that contain data: {iat_type: 'bad-old'}.

If you want to double check this, you could use the count() method on the resulting DataCollection to check that the correct number of trials are in the collection.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kostasim
Comment options

Answer selected by kostasim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants