Nothing
mlag2 <- function(FY, plag = 2){
for (i in 1:plag) {
if (i == 1){
ans <- apply(FY, 2, dplyr::lag, n = i)
}else {
ans <- cbind(ans, apply(FY, 2, dplyr::lag, n = i))
}
}
return(ans)
}
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.