mercredi 16 mai 2018

excluding variables and those near them- r dplyr

I have a dataset which is the output of multiple data loggers measuring temperature and lux (strength of light) at 1-hour intervals. There are approx 250,000 data points. I'm having trouble with temperature readings from 'sun flecks' where a shaft of lights hits the logger, heating it up quickly and then giving 'warm' readings for the rest of the day. I can use dplyr to subset these data (i.e. LUX>32,000) but I would like to remove all readings from that day if the logger had a LUX>32,000 reading. Is there a way to do this with dplyr? For ref each data logger has a name, date & time variables. Thanks

Aucun commentaire:

Enregistrer un commentaire