Description Usage Arguments Value
Simulation of new somas from the choosen cluster of the clustering of bayesian networks
1 2 | cluster_simulation(model, data, cluster_number, number_of_new_instances,
seed = 1)
|
model |
a bn.fit object from bnlearn package whose nodes are gaussians. It must be the result of the BN_clustering function |
data |
the same dataset used to compute the bayesian_structure |
cluster_number |
a natural number between 1 and the number of clusters of model. Simulate new somas from the selected cluster. |
number_of_new_instances |
a natural number denoting the number of new somas sampled from simulation |
seed |
a natural number used as seed during the sampling, by default it is 1 |
new_somas a dataset similar to data with the simulated somas of the selected cluster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.