stanedit.Rd
stanedit
prepares stan model code for programmatically editing.
stanedit(object, filename)
A {stanedit}
object containing clean model code. This will
have some formatting applied to it for further processing so line numbers
may not correspond to the original model, and comments will be removed.
model_file_name <- system.file(package = "stanedit", "regression.stan")
reg <- stanedit(filename = model_file_name)
reg
#> data {