Skip to content

How to apply a common baseline across multiple words #228

Answered by stonekate
stonekate asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I maybe came up with a (very clunky) solution (posting here in case it's useful or someone one day can suggest something better):

My issue is that I'm creating a separate eeg_lst with the baseline average amplitudes at the first word in a sentence which should then be applied to every word in that same sentence. If there are 20 sentences, then this yields an eeg_lst with one baseline value per sentence, .id values 1:20.

But each of the words in the 20 sentences in the main eeg_lst gets its own .id, so there are .ids 1:nrow(eeg_lst). Thus, .id 2 in the baseline eeg_lst is for the first word of the second sentence, but .id 2 in the main eeg_lst is the second word of the first sentence: T…

Replies: 1 comment

Comment options

stonekate
Feb 6, 2024
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by bnicenboim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant