R/fillcomb.R

Defines functions fillcomb

Documented in fillcomb

fillcomb <-
function(r){

out<-matrix(0,ncol(r),max(r))

for(i in 1:ncol(r)){
	out[i,r[,i]]<-1
}

out
}

Try the abctools package in your browser

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

abctools documentation built on July 18, 2018, 5:04 p.m.