Learn R Programming

PMwR (version 0.19-3)

PMwR-internal: Internal Functions

Description

Internal functions, not exported from the PMwR namespace.

Usage

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

.may_be_Date(x, ...)

Arguments

Author

Enrico Schumann

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.

References

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