Hey everyone, I am new to R and I am trying to find the index of all of the values in a data.frame. I have a .csv file that outputs pass, fail, error, and indeterminate readings. I have passed the data from the .csv to a data.frame, have performed the proper matching criteria to generate a data.frame of 0's and 1's, and am outputting the total 1's (therefore matches) found. I would also like to find the index of these values so that I can output a matrix containing the date and data point which has produced that match. Can anyone help set me in the right direction?
here is a github link to the code I have already generated for more clarity on the project: https://github.com/KevinKowitski/datasciencecoursera/blob/master/ErrorCount.R Thank you, Kevin ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.