Displaying 4 results from an estimated 4 matches for "boelt".
Did you mean:
bolt
2009 Jul 10
2
How to number a subset consecutively from 1 to n?
Hello,
I have a data frame of the following form
block trial dv
1 1 10
1 1 11
1 1 9
1 2 12
1 2 9
1 3 12
1 3 13
1 3 14
1 3 15
1 4 12
1 4 11
1 4 10
1 4 9
1 4 11
and need to number the rows consecutively in the following manner
block trial dv sequ
1 1 10 1
1 1 11 2
1 1 9 3
1 2 12 1
1 2 9 2
1 3 12 1
1 3 13 2
1 3 14 3
1 3 15 4
1 4 12 1
1 4 11 2
1 4 10 3
1 4 9 4
1 4 11 5
Any idea how to solve
2009 May 11
3
aggregate over x cases
Hello,
I have been struggling for quite some time to find a solution for the following problem. I have a data frame which is organized by block and trial. Each trial is represented across several rows in this data frame. I'd like to extract the first x rows per trial and block.
For example
block trial x y
1 1 1 605 150
2 1 1 603 148
3 1 1 604 140
4 1 1 600 140
5 1 1 590 135
6 1 1 580 135
7
2009 Aug 03
1
selectively altering variable value
Hello,
I have run an eye-tracking experiment for which I now like to analyse the saccades. Participants looked from a fixation cross (ia = 5) to the target area (ia = 4) in following example of a data frame. ia = 9 stands for everything else. A saccade is indicated by saccade = 1. Sometimes the saccade just ends before the target area (see below). This is due to the parameters that determine a
2009 Jul 06
1
how to apply a self-written function to a data frame
Hello,
I have written a function in order to analyse gaze paths. It works with the test data but when I try to apply the function to a data frame that stores "the real data" in columns I receive the error message that the
" In if (pp > 1) { :
condition has length > 1 only the first element will be used
"
I interpret this error message as saying that only the first