Learn R Programming

ramidst (version 0.1.0)

save_dynamic_amidst_bn: Saves an AMIDST dynamic BN to a fle

Description

Saves an AMIDST dynamic BN to a fle

Usage

save_dynamic_amidst_bn(network, file_name)

Arguments

network
a java object of class DynamicBayesianNetwork
file_name
the name of the file that will contain the network

Examples

Run this code
network <- dbn_generator(1,2,2)
save_dynamic_amidst_bn(network,"sample_net.bn")
new_network <- load_dynamic_amidst_bn("sample_net.bn")
print_amidst_bn(network)

Run the code above in your browser using DataLab