WarehouseDirectory | R Documentation |
If a network is not available, a BNWarehouse
will look
in the specified directory to find the .dne
or .neta
files associated with the Bayesian networks.
WarehouseDirectory(warehouse)
WarehouseDirectory(warehouse) <- value
warehouse |
An object of type |
value |
A character scalar giving the new pathname for the net directory. |
A character string giving the path associated with a Warehouse.
Russell Almond
BNWarehouse
, MakePnet.NeticaBN
sess <- NeticaSession()
startSession(sess)
netman1 <- read.csv(system.file("auxdata", "Mini-PP-Nets.csv",
package="Peanut"),
row.names=1, stringsAsFactors=FALSE)
Nethouse <- BNWarehouse(manifest=netman1,session=sess,key="Name")
stopifnot(WarehouseDirectory(Nethouse)==".")
## Set up to use a temporary directory (all networks will be built fresh)
td <- tempdir()
WarehouseDirectory(Nethouse) <- td
stopifnot(WarehouseDirectory(Nethouse)==td)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.