This function calculates the NowCast version of the incoming data.

.nowcast(x, version = "pm", includeShortTerm = FALSE)

Arguments

x

Vctor of ordered PM2.5 data in units of ug/m3.

version

Character identity specifying the type of nowcast algorithm to be used. For details see AirMonitor::monitor_nowcast().

includeShortTerm

Logical specifying whether to calculate preliminary NowCast values starting with the 2nd hour

Value

Vector of unitless NowCast values of the same length as x.