R/DeltaPair.R

Defines functions DeltaPair

Documented in DeltaPair

DeltaPair <-
function(Delta,i,j,digits=7) {
  ndelta <- length(Delta)
  estimatespair <- numeric(ndelta)
  for(k in 1:ndelta) {
    estimatespair[k] <- Delta[[k]][i,j]
  }
  names(estimatespair) <- paste("J",1:ndelta,sep="")
  estimatespair <- round(estimatespair,digits=digits)
  return(estimatespair)
}

Try the Jacquard package in your browser

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

Jacquard documentation built on Sept. 17, 2024, 5:09 p.m.