krige_airnow: krige_airnow

View source: R/monitors.R

krige_airnowR Documentation

krige_airnow

Description

Run ordinary kriging interpolation on the training data at the test locations using the data set created by split_airnow_data and the variograms created by create_airnow_variograms. This is to create subset variograms that can be used in developing and validating the final RF model. To interpolate at all sites, use krige_airnow_all.

Usage

krige_airnow(an_data, vgms)

Arguments

an_data

Named list from split_airnow_data.

vgms

A list of daily variograms from create_airnow_variograms.

Value

A data frame of the test data with the kriged values of PM25_log from AirNow and/or AIRSIS data.

Examples

mon_split <- split_airnow_data(an_ws, test_fraction = 0.3)
          an_vg <- create_airnow_variograms(an_ws)
          an_ok <- krige_airnow(mon_split, an_vg)

raffscallion/rapidfire documentation built on June 1, 2025, 2:04 p.m.