R/parmat.R

parmat <- function (params, nrep = 1) {
  params <- as.matrix(params)
  p <- matrix(data=params,nrow=nrow(params),ncol=ncol(params)*nrep)
  rownames(p) <- rownames(params)
  p
}

Try the pomp package in your browser

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

pomp documentation built on May 2, 2019, 4:09 p.m.