Internal function
Source:R/create_rate_categories_state_node_xml.R
create_rate_categories_state_node_xml.Rd
Creates the rateCategories
state node,
such as:
"<stateNode id=\"rateCategories.c:[id]\"
spec=\"parameter.IntegerParameter\"
dimension=\"[dimension]\">
1
</stateNode>"
Arguments
- inference_model
a Bayesian phylogenetic inference model. An inference model is the complete model setup in which a site model, clock model, tree prior and more are specified. Use create_inference_model to create an inference model. Use check_inference_model to check if an inference model is valid. Use rename_inference_model_filenames to rename the files in an inference model.
Value
the following XML:
"<stateNode id=\"rateCategories.c:[id]\"
spec=\"parameter.IntegerParameter\" dimension=\"[dimension]\">
1
</stateNode>"
Examples
check_empty_beautier_folder()
create_rate_categories_state_node_xml(
create_inference_model(
clock_model = create_rln_clock_model(
id = 314,
dimension = 1
)
)
)
#> [1] "<stateNode id=\"rateCategories.c:314\" spec=\"parameter.IntegerParameter\" dimension=\"1\">1</stateNode>"
check_empty_beautier_folder()