R/crptrs.R

Defines functions crptrs

Documented in crptrs

crptrs <-
function(icore,p,q,r){
#given the pointer to an element of icore, it calculates IA, IB,IC pointing to components
IC=as.integer(1+(icore-1)/(p*q))
IB= as.integer(1+((icore-1)-as.integer((icore-1)/(p*q))*(p*q))/p)
IA=1+((icore-1)-as.integer((icore-1)/p)*p)
list(IA=IA,IB=IB,IC=IC)
}

Try the CA3variants package in your browser

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

CA3variants documentation built on Oct. 10, 2022, 5:07 p.m.