View source: R/meaningfulLabels.R
meaningfulLabels | R Documentation |
Store meaningful parameter labels as as part of running dag_numpyro()
. When numpyro
creates posterior distributions for multi-dimensional parameters, it creates an often meaningless number system for the parameter (e.g. beta[1,1], beta[2,1], etc.). Since parameter dimensionality is often determined by a factor
, this function creates labels from the factors unqiue values. replaceLabels()
applies the text labels stored using this function to the numpyro
output. The meaningful parameter names are stored in an environment, cacheEnv
.
meaningfulLabels(graph)
graph |
a |
a data frame meaningfulLabels
stored in an environment named cacheEnv
that contains a lookup table between greta labels and meaningful labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.