Learn R Programming

GroupBN (version 1.2.0)

groupbn.vis.html.plot: groupbn.vis.html.plot

Description

Create an interactive html network object with visNet (displaying similarity scores and number of variables in a score)

Usage

groupbn.vis.html.plot(res, df=NULL, save.file=TRUE, save.name=NULL,
hierarchical=FALSE, nodecolor.all="#E0F3F8",
nodecolor.special="cornflowerblue", main=NULL)

Arguments

res

a groupbn object

df

output from output.table if already calculated, otherwise the same table is calculated internally

save.file

boolean; if TRUE a html file is produced

save.name

name for saving html object, date is additionally used

hierarchical

boolean; if TRUE the network is plotted with a hierarchical layout

nodecolor.all

a color for "normal" nodes

nodecolor.special

a color for the target variable and all separated nodes, if any.

main

optionally a title for the plot

Value

an html widget of class visNetwork

Details

Plots an interactive network plot using visNetwork package

See Also

groupbn groupbn_refinement

Examples

Run this code
# NOT RUN {
data("wine.groupbn.refined")
groupbn.vis.html.plot(wine.groupbn.refined, hierarchical=TRUE, save.file=FALSE)
# }

Run the code above in your browser using DataLab