R/identity.weights.R

identity.weights <- function (categ) {
  weights <- diag(length(categ))
  return(weights)
}

Try the autoFC package in your browser

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

autoFC documentation built on April 29, 2026, 5:10 p.m.