R/df2m2.R

Defines functions df2m2

df2m2 <-
function(x)
{
  x$intnr <- NULL
  x$paramnr <- NULL
  vars <- as.character(x$varname)
  x$varname <- NULL
  x <- as.matrix(x)
  vars[vars == "const"] <- "(Intercept)"
  rownames(x) <- vars

  return(x)
}

Try the R2BayesX package in your browser

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

R2BayesX documentation built on Oct. 20, 2023, 9:11 a.m.