#' @rdname corcov
#' @export
xcor <- function(X, Y) {
stopifnot(nrow(X) == nrow(Y))
ans <- xcorArma(X = X, Y = Y)
colnames(ans) <- colnames(Y)
rownames(ans) <- colnames(X)
return(ans)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.