recent_valid: Retrieve the most recent valid value Given a timeseries 't'...

View source: R/03_prioritization_utils.R

recent_validR Documentation

Retrieve the most recent valid value Given a timeseries t and a v, return the most recent valid value

Description

Retrieve the most recent valid value Given a timeseries t and a v, return the most recent valid value

Usage

recent_valid(t, v)

Arguments

t

(Date/POSIXct)

v

(vector)

Value

(vector) of unique, most recent value(s if there is a tie) of v


COHHIO/Rm_data documentation built on Dec. 9, 2024, 2:10 p.m.