R/utilities_names.R

Defines functions .varpro.fresh.names

## Allocate internal response names without changing existing predictor names.
.varpro.fresh.names <- function(proposed, existing = character()) {
  existing <- unique(existing)
  resolved <- make.unique(c(existing, proposed))
  resolved[length(existing) + seq_along(proposed)]
}

Try the varPro package in your browser

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

varPro documentation built on Sept. 22, 2026, 5:09 p.m.