Skip to contents

Write a Stan model code to file

Usage

write_stan_model(code, file = NULL)

Arguments

code

Stan code (vector of character strings).

file

filename to write to. If no name specified, will create temporary file.

Value

filename of saved model