edstan_model_code | R Documentation |
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)
filename |
The name of the stan file. |
print |
Whether to print the stan file contents. Default is 'TRUE'. |
Invisibly returns a character vector of the stan file contents.
# View the Stan code for the Rasch model
edstan_model_code("rasch_latent_reg.stan")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.