Nothing
.timestamp <- function(x, ...) {
UseMethod(".timestamp")
}
instrument <- instrument <- function(x, ...) {
UseMethod("instrument")
}
instrument.position <- function(x, ...) {
attr(x, "instrument")
}
instrument.pricetable <- function(x, ...) {
attr(x, "instrument")
}
instrument.journal <- function(x, ...) {
x$instrument
}
instrument.NAVseries <- function(x, ...) {
attr(x, "instrument")
}
`instrument<-` <- function(x, ..., value) {
UseMethod("instrument<-")
}
`instrument<-.journal` <- function(x, ..., value) {
len <- length(value)
lenx <- length(x)
if (len == lenx)
x$instrument <- value
else if (len == 1L)
x$instrument <- rep(value, lenx)
else
stop("length(instrument) differs from length(journal)")
x
}
`instrument<-.NAVseries` <- function(x, ..., value) {
attr(x, "instrument") <- value
x
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.