R/ones.R

Defines functions ones

Documented in ones

ones <- function(n) {
	if (length(n) == 1) 
		res = matrix(1, n, n)
	else res = array(1, n)
	return(res)
}

Try the MultBiplotR package in your browser

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

MultBiplotR documentation built on Nov. 21, 2023, 5:08 p.m.