#' @title recode.time.block
#' @description unknown
#' @family abysmally documented
#' @author unknown, \email{<unknown>@@dfo-mpo.gc.ca}
#' @export
recode.time.block = function ( X=NULL, type="annual" ) {
if (type=="annual") w = X$yr
if (type=="monthly") w = X$month
if (type=="fiveyear") w = floor( X$yr / 5 ) * 5
if (type=="all") w = 3000
return(w)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.