R/createX2matchY.R

Defines functions createX2matchY

Documented in createX2matchY

createX2matchY <- function(x, y){
  cix <- classIndex(x)
  ciy <- classIndex(y)
  ciz <- max(cix, ciy)
  if(ciz<2) return(NULL)
  chz <- index2class(ciz)
  do.call(chz, list(length(y)))
}
sbgraves237/Ecfun documentation built on Dec. 3, 2024, 12:37 p.m.