# On load
.onAttach = function(lib, pkg){
packageStartupMessage(
sprintf("Loaded sits v%s. See ?sits for help, citation(\"sits\") for use in publication.\n",
utils::packageDescription("sits")$Version) )
}
# Include the following global variables in the SITS package
utils::globalVariables(c(".", "%>%", "Index", "value", "variable", "cond",
"med", "qt25", "qt75", "cluster_id",
"longitude", "latitude", "label", "coverage",
"year", "start_date", "end_date", "time_series",
"name", "scale_factor", "missing_value",
"original_label", "n_members", "n_members.n", "count",
"segr", "frac", "total", "n",
"distance", "predicted", "new_values",
"Alig.N", "matches", "reference", "cluster"))
#' @import dtwSat
#' @import dtwclust
#' @importFrom dtw symmetric1 symmetric2
#' @useDynLib sits, .registration = TRUE
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.