R/bootStateSpace-label-sym-dot.R

Defines functions .LabelSym

.LabelSym <- function(p,
                      label) {
  chars <- seq_len(p)
  outer(
    X = chars,
    Y = chars,
    FUN = function(x, y) {
      ifelse(
        test = x <= y,
        yes = paste0(
          label,
          "_",
          y,
          "_",
          x
        ),
        no = paste0(
          label,
          "_",
          x,
          "_",
          y
        )
      )
    }
  )
}

Try the bootStateSpace package in your browser

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

bootStateSpace documentation built on April 4, 2025, 1:35 a.m.