TimeExt: Time and Date Functions

Description Usage Arguments Value Functions

View source: R/AdditionalFunctions-DateTime.R

Description

These a group of functions that support other functions within the model

Usage

1
2
3
4
5
6
7
8
9
TimeExt(sec = F)

OrdinalDate(date)

DateDuration(startDate, endDate)

SetWinterDates(winterStartDate, winterEndDate)

SetExposureDates(growth_percents)

Arguments

sec

TRUE/FALSE to include seconds in time output

date

Date in format 'DateMonthYear', ex. '01Jan20'

startDate

Beginning ordinal date

endDate

Ending ordinal date

winterStartDate

Starting date for the duration [Ordinal date integer]

winterEndDate

Ending date for the duration [Ordindal date interger]

growth_percents

The daily Kappa growth percent decreases from baseline return A vector of length length(growth_percents) with TRUE for each day where growth percent differs from 1

Value

A vector of length 365 where dates within 'startDate' and 'endDate' are TRUE all others are FALSE

Functions


npollesch/FishToxTranslator documentation built on May 23, 2021, 3:21 a.m.