Description Usage Arguments Value See Also Examples
Reads an object or a file in YAML format and returns a model YAML object.
1 |
file |
file path to a YAML file. |
text |
a YAML formatted character string. |
A src_yaml object.
Other source functions:
src_file()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Read from a file:
path <- example_yaml()
src_yaml(path)
## Read from an (text) object:
model <- "
- name: childModuleA
input: [input.data, reactive]
src: package
- name: childModuleB
input: selected.model
"
src_yaml(text = model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.