MazamaScience / AirSensorShiny

An RShiny application based on the AirSensor package
GNU General Public License v3.0
8 stars 1 forks source link

Add reference site comparison #12

Closed hmrtn closed 5 years ago

hmrtn commented 5 years ago

Create a function to use in shiny for comparing monitors to reference sites.

The reference site will be the nearest PWFSLSmoke monitor. A plot should compare the the reference site to the average(?) signal produced from the selected PA sensor, as well as preform a linear fit. Utilize multiplot functionality.

jonathancallahan commented 5 years ago

In order to do the comparison, the PA data must be on the same time axis as the reference monitor data. We should just use pat_createAirSensor() with default settings as is done in pat_externalFit().

Basically, this function will be a customized version of pat_externalFit().