print.dyncouponbonds <- function(x, ...) {
cat("This is a dynamic data set of coupon bonds.\n")
cat(paste("There are",length(x), "observations between",x[[1]][[1]]$TODAY, "and",x[[length(x)]][[1]]$TODAY,".\n"))
}
print.couponbonds <- function(x, ...) {
cat("This is a data set of coupon bonds for:\n")
cat(names(x),",","\n")
cat(paste("observed at ", x[[1]]$TODAY,".","\n",sep=""))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.