Re: [R] for loop incorrect row count

2015-06-11 Thread John Kane
roubleshooting just a bit difficult. And which method I use can be a crap shoot. John Kane Kingston ON Canada > -Original Message- > From: dwinsem...@comcast.net > Sent: Thu, 11 Jun 2015 16:48:40 -0700 > To: k.kowit...@icloud.com > Subject: Re: [R] for loop incorrect row co

Re: [R] for loop incorrect row count

2015-06-11 Thread Bert Gunter
Oh, Swami, gazing into the crystal ball one can see ... ;-} Cheers, Bert Bert Gunter "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." -- Clifford Stoll On Thu, Jun 11, 2015 at 4:48 PM, David Winsemius wrote: > > On Jun 11, 2015, at 12:25 PM,

Re: [R] for loop incorrect row count

2015-06-11 Thread David Winsemius
On Jun 11, 2015, at 12:25 PM, Kevin Kowitski wrote: > Hey, > > I am having an issue with a for loop that is intended to read index values > by row and column so that it can pull out the valuable information. My issue > is that I am using a data.frame(which(df==1, arr.ind=TRUE)) That would

[R] for loop incorrect row count

2015-06-11 Thread Kevin Kowitski
Hey,    I am having an issue with a for loop that is intended to read index values by row and column so that it can pull out the valuable information.  My issue is that I am using a data.frame(which(df==1, arr.ind=TRUE)) to find the index of the values in my data frame that are equal to 1.  Th