knn_daily: Select k-Nearest Neighbor for Given Simulation State

View source: R/knn_daily.R

knn_dailyR Documentation

Select k-Nearest Neighbor for Given Simulation State

Description

Select k-Nearest Neighbor for Given Simulation State

Usage

knn_daily(x, wday, state, state_prev, prcp_prev, temp_prev, prcp_sd, temp_sd)

Arguments

x

historical daily climate dataset

wday

simulation water-day

state

simulated state

state_prev

simulated state of previous water-day

prcp_prev

simulated precip of previous water-day

temp_prev

simulated temp of previous water-day

prcp_sd

standard deviation of historical precipitation for current month

temp_sd

standard deviation of historical temperature for current month


walkerjeffd/weathergen documentation built on July 26, 2022, 7:20 a.m.