Learn R Programming

PMwR (version 0.11-0)

PMwR-internal: Internal Functions

Description

Several internal functions, not exported from the PMwR name space.

Usage

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

.may_be_Date(x, …)

Arguments

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.

References

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