R/validate_diag_mat.R

Defines functions validate_diag_mat

validate_diag_mat <- function(x){
  if(!isDiagonal(x)) stop("matrix must be diagonal")
}

Try the distfreereg package in your browser

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

distfreereg documentation built on April 4, 2025, 12:30 a.m.