#' Title
#'
#' @param ts
#' @param nucleos
#' @param currentProject
#' @param ...
#'
#' @return
#' @export
#'
#' @examples
ts2IntervalV2 <- function(ts,currentProject,nucleos=numCores(4),...){
resultado=parallel::mclapply(currentProject$defineWhat,function(x)x(ts,...)[["intervals"]],mc.cores=nucleos)
names(resultado)=names(currentProject$defineWhat)
resultado %>% keep(function(df) is.data.frame(df))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.