View source: R/drop_parameters.R
drop_parameters | R Documentation |
shinystan
objectRemove selected parameters from a shinystan
object. This is useful if
you have a very large shinystan
object when you only want to look at a
subset of parameters. With a smaller shinystan
object,
launch_shinystan
will be faster and you should experience
better performance (responsiveness) after launching when using the
'ShinyStan' app.
drop_parameters(sso, pars)
sso |
A |
pars |
A character vector of parameter names. If the name of a
non-scalar (e.g. vector, matrix) parameter is included in |
sso
, with pars
dropped.
generate_quantity
to add a new quantity to a
shinystan
object.
# Using example shinystan object 'eight_schools' print(eight_schools@param_names) # Remove the scalar parameters mu and tau sso <- drop_parameters(eight_schools, pars = c("mu", "tau")) print(sso@param_names) # Remove all elements of the parameter vector theta sso <- drop_parameters(sso, pars = "theta") print(sso@param_names)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.