| save_model {bnlearn} | R Documentation |
save_model(bnlearn, dir);
the learned bayesian network model will be saved as two tsv table files in the given output directory: the network_structure.tsv file for the network structure data and the network_parameters.tsv file for the conditional probability distribution(CPD) parameter data of each network node.
TRUE will be returns if the network model data has been saved into the given directory successfully.