R/pairt.samp.R

Defines functions pairt.samp

Documented in pairt.samp

pairt.samp<-function(n.pair){
	mat<-matrix(0,2^n.pair,n.pair)
	for(i in 1:n.pair)
		mat[,i]<-rep(rep(c(1,-1),e=2^(n.pair-i)),2^(i-1))
	mat
} 
 

Try the siggenes package in your browser

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

siggenes documentation built on Nov. 8, 2020, 6:26 p.m.