R/lowerMatVal.R

Defines functions lowerMatVal

Documented in lowerMatVal

lowerMatVal <-
function(Mat, value=999) {
  Mat[lower.tri(Mat)[, ncol(Mat):1]] <- value
  return(Mat)
}

Try the Exact package in your browser

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

Exact documentation built on Sept. 26, 2022, 1:05 a.m.