|
Hello,
A am creating a subset of data from a data matrix as follows:
theSubset=theData[theData$Fieldname=="A string",]
For some reason, a row of "NA" values is inserted into theSubset, screwing up the statistics I want to do on that subset of data. I can't figure out why it is doing this. There are no "NA" values in the field that I am using to subset the data. The data set was imported from an Excel spreadsheet.
Any help would be appreciated.
Thanks,
Jim Daley Coldwater Fisheries Unit Leader NYSDEC Bureau of Fisheries 625 Broadway, 5th Floor Albany, NY 12233-4753 jgdaley@gw.dec.state.ny.us
|