R/stripclosestpairsWrapper.R

Defines functions stripclosestpairsWrapper

Documented in stripclosestpairsWrapper

stripclosestpairsWrapper <- function(table, finallength, scales, fixedNbr=NA) {
  if (is.na(fixedNbr)) {
    stop.redef("(!) from stripclosestpairsWrapper : at least one fixed point required")
  }
  if (nrow(table)> blackbox.getOption("kriglength")) {
    greedyMAXMINwithFixed(table, finallength, scales, fixedNbr) ## more economical...
  } else {
    stripclosestpairs(table, finallength, scales, fixedNbr) ## takes memory... opaque code using somme banwidth...
  }
} ##end stripclosestpairsWrapper

Try the blackbox package in your browser

Any scripts or data that you put into this service are public.

blackbox documentation built on May 3, 2023, 9:13 a.m.