Display a ferx model file in the console
Description
Prints the contents of a .ferx model file to the console. When the console supports ANSI colour (and the cli package is installed), the output is syntax-highlighted: section headers ([parameters], …) are bold yellow, declaration keywords (theta, omega, sigma, kappa, …) are cyan, and comments are dimmed. In a non-colour context (file, pipe, NO_COLOR, or no cli) the raw text is printed unchanged.
Usage
ferx_model_show(path)Arguments
path: Path to a.ferxmodel file.
Seealso
[ferx_model_edit](ferx_model_edit.qmd), [ferx_example](ferx_example.qmd)Other model-editing: [ferx_get_section](ferx_get_section.qmd)(), [ferx_model](ferx_model.qmd)(), [ferx_model_edit](ferx_model_edit.qmd)(), [ferx_model_inspect](ferx_model_inspect.qmd)(), [ferx_model_new](ferx_model_new.qmd)(), [ferx_model_section](ferx_model_section.qmd)(), [ferx_model_set_section](ferx_model_set_section.qmd)(), [ferx_model_validate](ferx_model_validate.qmd)(), [ferx_set_section](ferx_set_section.qmd)()
Concept
model-editing
Value
path, invisibly.
Examples
ex <- ferx_example("warfarin")
ferx_model_show(ex$model)