purpleair_clean_spatial_outliers | R Documentation |
Scrub spatial outliers by removing and sensor that is >2 sd away from the local median within a 10-km radius
purpleair_clean_spatial_outliers(spdf)
spdf |
A SpatialPointsDataFrame of PurpleAir data such as from
|
The data from spdf with spatial outliers removed
pa_data <- get_purpleair_daterange(dt1, dt2, states)
pas <- purpleair_spatial(pa_data)
pa_clean <- purpleair_clean_spatial_outliers(pas)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.