PMwR-internal: Internal Functions

PMwR-internalR Documentation

Internal Functions

Description

Internal functions, not exported from the PMwR namespace.

Usage

.timestamp(x)
.timestamp(x) <- value

.may_be_Date(x, ...)

Details

.timestamp extracts or replaces an object's timestamp.

.may_be_Date checks whether a vector could be coerced to class Date, in which case it evaluates to (a single) TRUE; otherwise it returns FALSE. If TRUE, the actual Dates are attached as an attribute Date.

Author(s)

Enrico Schumann

References

E. Schumann (2023) Portfolio Management with R. http://enricoschumann.net/PMwR/


enricoschumann/PMwR documentation built on April 13, 2024, 12:18 p.m.