aquifer_time: A list object of class 'time' for aquifer models

Description Usage Arguments Value Examples

View source: R/Raquifer_package.R

Description

Create an object of class 'time'

Usage

1
aquifer_time(x, unit = "day")

Arguments

x

a vector of times or a daily sequence of dates

unit

time/date unit of vector x

Value

a list of class 'time' with all the required parameters for the aquifer_predict() S3 methods

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
aquifer_time_1 <- aquifer_time(c(0:4) * 365, unit = "day")

aquifer_time_1

aquifer_time_2 <- aquifer_time(c(0:4), unit = "month")

aquifer_time_2

aquifer_time_3 <- aquifer_time(c(0:4), unit = "year")

aquifer_time_3

aquifer_time_4 <- aquifer_time(seq(as.Date("2020/1/1"), by = "year",
length.out = 5), unit = "date")

aquifer_time_4

Raquifer documentation built on July 2, 2020, 4:06 a.m.