R/mcmc_as_formula.R

Defines functions mcmc_as_formula

## File Name: mcmc_as_formula.R
## File Version: 0.11

mcmc_as_formula <- function( string )
{
    string <- paste0( string, collapse=" " )
    string <- gsub("___ ", "___", string, fixed=TRUE )
    form <- stats::as.formula(string)
    return(form)
}

Try the sirt package in your browser

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

sirt documentation built on Aug. 11, 2023, 5:07 p.m.