powered by
This function reads a Stan file from the `inst/extdata/` directory of the package, returning its contents invisibly while optionally printing them.
edstan_model_code(filename, print = TRUE)
Invisibly returns a character vector of the stan file contents.
The name of the stan file.
Whether to print the stan file contents. Default is `TRUE`.
# View the Stan code for the Rasch model edstan_model_code("rasch_latent_reg.stan")
Run the code above in your browser using DataLab