#' @importFrom magrittr '%>%'
#' @import Rcpp
#' @useDynLib vtools
freq_hour <- function(vec) {
sec_interval <- mean(diff(as.integer(vec)))
sec_interval / 3600
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.