R/permut.R

permut<-function(n)
{
	ind<-1:n
	a<-sample(ind,n)
	asort <- sort(a)
	b <- sample(asort,n)
	ind <- b
 	return(ind)
}

Try the CPMCGLM package in your browser

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

CPMCGLM documentation built on May 1, 2019, 10:53 p.m.