R/2.10.simulateFitList.R

Defines functions simulateFitList

simulateFitList <- function(sigmaThetaExpr, numWaves) {
  fit <- list()

  if (is.character(sigmaThetaExpr)) {
    fit$info$T <- numWaves
  } else {
    fit$info$T <- sqrt(length(sigmaThetaExpr$expr))
  }

  return(fit)
}

Try the Mmcsd package in your browser

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

Mmcsd documentation built on March 31, 2023, 7:23 p.m.