Nothing
#' @title residuals.ewmavol()
#'
#' @author Eric Zivot
#'
#' @description
#' residuals.ewmavol()
#'
#' @param object object
#' @param standardize standardize=FALSE
#'
#' @return
#' object$returns/object$sigma
#'
#' @examples
#' \dontrun{
#' residuals.ewmavol(r)
#' }
#'
#' @export residuals.ewmaVol
residuals.ewmaVol <- function(object, standardize=FALSE) {
if (!standardize) {
return(object$returns)
} else {
return(object$returns/object$sigma)
}
}
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.