The inla hyperparameter output uses parameter names that can include
whitespace and special characters. This function replaces those characters
with underscores.
Arguments
- x
character vector; names to be standardised
Value
A character vector with standardised names
Examples
bru_standardise_names("Precision for the Gaussian observations")
#> Precision for the Gaussian observations
#> "Precision_for_the_Gaussian_observations"