launch_shinyBN: Launch the 'shinyBN' app

Description Usage Arguments Examples

View source: R/shinyBN.R

Description

Launch the Shiny-powered app to visualize and interact with a bn.fit object (cf. bnlearn::bn.fit).

Usage

1
2
3
launch_shinyBN(object, app_title = NULL, node_labels = NULL,
  value_labels = NULL, help_texts = NULL, documentation_md = NULL,
  ...)

Arguments

object

a discrete Bayesian network

app_title

name to use for the instance of the app

node_labels

optional named vector of labels to use for the nodes

value_labels

optional named list of labels to use for the possible values of the nodes

help_texts

optional named character vector of helpful text to include in the node interfaces

documentation_md

optional path to a Markdown document to include in the app; if provided, it is wrapped in withMathJax, so the documentation can include math

...

parameters to pass to shiny::shinyApp

Examples

1
2
3
4
## Not run: 
launch_shinyBN(pavement_model)

## End(Not run)

bearloga/shinyBN documentation built on May 25, 2019, 4:01 a.m.