[R] Odp: Need to clean a table, and compute mean and SD
petr.pikal at precheza.cz
Mon May 4 11:39:57 CEST 2009
r-help-bounces at r-project.org napsal dne 04.05.2009 09:53:19:
> For a school project I have a file with 120 columns and ~2000 lines.
> file contains timestamps of spike detected in 60 channels, and the time
> elapsed between the last spike.
> I need to clean too high values. About 98% of values are between 0 and
> and 2% are between 2000 and 20'000. I want to get rid of theses values.
> Please could you help me?
Decide your threshold value. Let say it is 2000. Then it depends how do
you want to get rid of the data.
shall put NA values instead all items which were bigger than 2000.
> View this message in context:
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help