if (FALSE) {
library(doParallel)
ncores <- detectCores() - 1
registerDoParallel(cores = ncores)
# half-window widths to evaluate
# months, years, and salinity/flow
wins <- list(0.5, 10, 0.5)
# get ocv score for k = 10
wrtdscv(tidobjmean, wins = wins)
# get ocv score k = 2, tau = 0.2
wrtdscv(tidobj, wins = wins, tau = 0.2)
}
Run the code above in your browser using DataLab