Re: [R] Select the last rows of when specific conditions are met.

2012-11-01 Thread arun
oject.org Cc: Sent: Thursday, November 1, 2012 11:18 AM Subject: [R] Select the last rows of when specific conditions are met. Hello, As I am new with R I am completely stuck in resolving a, no doubt, easy problem. I have a dataset with an enormous amount of rows and 17 columns. I need to know per trial

Re: [R] Select the last rows of when specific conditions are met.

2012-11-01 Thread mardijk
I am so sorry for the lack of clarity. I have a few subjects, every subject has done a number of trials and per trial there is a measurement per millisecond (represented in the variable tt), so every unique trial is represented in around 2500 rows. An example of data would be: Subj | Trial | t

Re: [R] Select the last rows of when specific conditions are met.

2012-11-01 Thread arun
ijk To: r-help@r-project.org Cc: Sent: Thursday, November 1, 2012 11:18 AM Subject: [R] Select the last rows of when specific conditions are met. Hello, As I am new with R I am completely stuck in resolving a, no doubt, easy problem. I have a dataset with an enormous amount of rows and 17 colum

Re: [R] Select the last rows of when specific conditions are met.

2012-11-01 Thread Jessica Streicher
I really don't understand what you want to achieve and how your data presents itself. You have several combinations of trial/subject which are unique? There is a variable for each such combination that you want to test against (tt)? In addition you have data on each such combination (several set

[R] Select the last rows of when specific conditions are met.

2012-11-01 Thread mardijk
Hello, As I am new with R I am completely stuck in resolving a, no doubt, easy problem. I have a dataset with an enormous amount of rows and 17 columns. I need to know per trial and subject number if another variable (tt) exceeds a maximum. If this is true than the last 5000 rows of that specific