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 PERMANOVA package in your browser

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

PERMANOVA documentation built on Sept. 6, 2021, 5:07 p.m.