R/ones.R

"ones" <-
function(n,p=n) {
   matrix(rep(1,n*p),nrow=n,ncol=p)
}

Try the calibrate package in your browser

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

calibrate documentation built on July 1, 2020, 7:03 p.m.