krige_airnow_all: krige_airnow_all

View source: R/monitors.R

krige_airnow_allR Documentation

krige_airnow_all

Description

Runs daily ordinary kriging based on PM25_log data from a monitor SPDF from recast_monitors to a set of locations and dates.

Usage

krige_airnow_all(an, outlocs, vgms)

Arguments

an

A SpatialPointsDataFrame from recast_monitors. These are the input locations with date specific data to be interpolated.

outlocs

A SpatialPointsDataFrame from recast_monitors. These are the output locations to be estimated.

vgms

A list of daily variograms from create_airnow_variograms.

Value

The dataframe portion of outlocs with the kriging prediction and variance added (PM25_log_ANK and PM25_log_var)

Examples

ank_complete <- krige_airnow_all(an_ws, an_ws an_vg)

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