Plots the PBN produced by computePbnByCluster for a given
cluster and returns it as a ggplot object
Arguments
- ingres.object
An
ingresobject with a non-nullcluster.pbnslot.- cluster.id
A string containing the id of the cluster to be plotted.
Examples
createExampleIngresObjectWithViper
#> Error in eval(expr, envir, enclos): object 'createExampleIngresObjectWithViper' not found
ing <- computePbnByCluster(ing)
#> Error in eval_tidy(xs[[j]], mask): object 'ing' not found
clusterPbnPlot(ing, "1")
#> Error in filter(., .data$cluster == cluster.id): object 'ing' not found