Package: RNetica 0.10-3

RNetica: R interface to Netica(R) Bayesian Network Engine

This provides an R interface to the Netica (http://norsys.com/) Bayesian network library API.

Authors:Russell Almond

RNetica_0.10-3.tar.gz
RNetica_0.10-3.zip(r-4.5)RNetica_0.10-3.zip(r-4.4)RNetica_0.10-3.zip(r-4.3)
RNetica_0.10-3.tgz(r-4.4-x86_64)RNetica_0.10-3.tgz(r-4.3-x86_64)
RNetica_0.10-3.tar.gz(r-4.5-noble)RNetica_0.10-3.tar.gz(r-4.4-noble)
RNetica.pdf |RNetica.html
RNetica/json (API)

# Install 'RNetica' in R:
install.packages('RNetica', repos = c('https://ralmond.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ralmond/rnetica/issues

On CRAN:

bayesian-network

4.46 score 2 stars 2 packages 12 scripts 196 exports 28 dependencies

Last updated 5 months agofrom:e9c01577ff. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-win-x86_64WARNINGNov 02 2024
R-4.5-linux-x86_64WARNINGNov 02 2024
R-4.4-win-x86_64WARNINGNov 02 2024
R-4.4-mac-x86_64WARNINGNov 02 2024
R-4.3-win-x86_64WARNINGNov 02 2024
R-4.3-mac-x86_64WARNINGNov 02 2024

Exports:AbsorbNodesAddLinkAddNodeToSetsAdjoinNetworkas.IDnameCalcNodeStateCalcNodeValueCaseFileDelimiterCaseFileMissingCodeCaseFileStreamCaseMemoryStreamCheckNamedNetworksClearAllErrorsCloseCaseStreamCompareCompileNetworkCopyNetworksCopyNodesCreateNetworkDeleteLinkDeleteNetworkDeleteNodesDeleteNodeTabledgetFromStringdputToStringEliminationOrderEliminationOrder<-EnterFindingsEnterGaussianFindingEnterIntervalFindingEnterNegativeFindingEquationToTableEVERY_STATEewoeFadeCPTFindingsProbabilityflogErrorsFreeNeticaRNGGenerateRandomCasegetCaseStreamDataFrameNamegetCaseStreamLastFreqgetCaseStreamLastIdgetCaseStreamPathgetCaseStreamPosGetCliquegetDefaultSessionGetNamedNetworksGetNetworkAutoUpdateGetNetworkFileNameGetNthNetworkGetRelatedNodesHasNodeTableis.activeis.CaseFileStreamis.CliqueNodeis.continuousis.discreteis.elementis.IDnameis.MemoryCaseStreamis.NeticaBNis.NeticaCaseStreamis.NeticaNodeis.NeticaRNGis.NetworkCompiledis.NodeRelatedIsBeliefUpdatedisCaseStreamOpenisNeticaRNGActiveIsNodeDeterministicJointProbabilityJunctionTreeReportLearnCasesLearnCPTsLearnFindingslogErrorsMakeCliqueNodeMemoryStreamContentsMemoryStreamContents<-MostProbableConfigMutualInfoNeticaConditionNeticaSessionNeticaVersionNetworkAllNodesNetworkAllUserFieldsNetworkCommentNetworkComment<-NetworkCompiledSizeNetworkFindNodeNetworkFootprintNetworkNameNetworkName<-NetworkNodeSetColorNetworkNodeSetsNetworkNodesInSetNetworkNodesInSet<-NetworkSessionNetworkSetPriorityNetworkSetRNGNetworkTitleNetworkTitle<-NetworkUserFieldNetworkUserField<-NetworkUserObjNetworkUserObj<-NewContinuousNodeNewDiscreteNodeNewNeticaRNGNodeAllUserFieldsNodeBeliefsNodeChildrenNodeDescriptionNodeDescription<-NodeEquationNodeEquation<-NodeExpectedUtilsNodeExpectedValueNodeExperienceNodeExperience<-NodeFindingNodeFinding<-NodeInputNamesNodeInputNames<-NodeKindNodeKind<-NodeLevelsNodeLevels<-NodeLikelihoodNodeLikelihood<-NodeNameNodeName<-NodeNetNodeNumStatesNodeParentsNodeParents<-NodeProbsNodeProbs<-NodeSetsNodeSets<-NodeStateCommentsNodeStateComments<-NodeStatesNodeStates<-NodeStateTitlesNodeStateTitles<-NodeTitleNodeTitle<-NodeUserFieldNodeUserField<-NodeUserObjNodeUserObj<-NodeValueNodeValue<-NodeVisPosNodeVisPos<-NodeVisStyleNodeVisStyle<-OpenCaseStreamParentNamesParentStatesprintprintErrorsread.CaseFileReadFindingsReadNetworksRemoveNodeFromSetsReportErrorsRetractNetFindingsRetractNodeFindingReverseLinkSetNetworkAutoUpdateStartNeticastartSessionStopNeticastopSessiontesterConfusiontesterErrorRatetesterIgnoretesterKappatesterLambdatesterLogLosstesterNettesterQuadraticLosstesterTargettestNetworktoStringUncompileNetworkVarianceOfRealWithOpenCaseStreamWithoutAutoUpdateWithRNGwoewrite.CaseFileWriteFindingsWriteNetworks

Dependencies:clicpp11CPTtoolsdplyreinsumfansigenericsgluelifecyclemagrittrmathjaxrpillarpkgconfigpurrrR.methodsS3R.ooR.utilsR6Rcpprlangstringistringrtibbletidyrtidyselectutf8vctrswithr

Constructing Networks

Rendered fromConstructingNetworks.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2023-04-12
Started: 2023-04-12

Using Bayesian Networks for Inference

Rendered fromInference.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2023-04-12
Started: 2023-04-12

Netica License Keys

Rendered fromLicenseKeys.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2023-04-12
Started: 2023-04-12

RNetica Internals

Rendered fromRNeticaInternals.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2023-04-12
Started: 2023-04-12

Readme and manuals

Help Manual

Help pageTopics
R interface to Netica(R) Bayesian Network EngineRNetica-package RNetica
Delete a Netica nodes in a way that maintains the connectivity.AbsorbNodes
Adds or removes a link between two nodes in a Netica network.AddLink DeleteLink
Links an evidence model network to a system model network.AdjoinNetwork
Calculates the state of a node based on logical functions or formulaeCalcNodeState CalcNodeValue
Gets or sets special characters for case files.CaseFileDelimiter CaseFileMissingCode
A stream of cases for reading/writing Netica findings to a fileCaseFileStream getCaseStreamPath is.CaseFileStream
A stream of cases for reading/writing Netica from memoryCaseMemoryStream getCaseStreamDataFrameName is.MemoryCaseStream
Class '"CaseStream"'as.character,CaseStream-method CaseStream-class print,CaseStream-method toString,CaseStream-method
Class '"CliqueNode"'CliqueNode-class toString,CliqueNode-method
Builds the junction tree for a Netica NetworkCompileNetwork is.NetworkCompiled UncompileNetwork
Makes copies of Netica networks.CopyNetworks
Copies or duplicates nodes in a Netica network.CopyNodes
Creates (destroys) a new Netica network.CreateNetwork DeleteNetwork
Deletes the conditional probability table of a Netica node.DeleteNodeTable
Serializes an R object to a stringdgetFromString dputToString
Retrieves or sets the elimination order used in compiling a Netica network.EliminationOrder EliminationOrder<-
Enters findings for multiple nodes in a Netica network.EnterFindings
Enter a numeric finding with uncertaintyEnterGaussianFinding
Enter finding of value within an intervalEnterIntervalFinding
Sets findings for a Netica node to a list of ruled out values.EnterNegativeFinding
Extracts portions of the conditional probability table of a Netica node.EVERY_STATE Extract.NeticaNode [,NeticaNode-method [<-,NeticaNode-method [[,NeticaNode-method [[<-,NeticaNode-method
Fades a Netica Conditional Probability TableFadeCPT
Class '"FileCaseStream"'FileCaseStream-class
Finds the probability of the findings entered into a Netica network.FindingsProbability
Generates random cases for nodes in a Netica networkGenerateRandomCase
Finds a Netica network (if it exists) for the name.CheckNamedNetworks GetNamedNetworks
Turns Netica automatic updating on or off for a network.GetNetworkAutoUpdate SetNetworkAutoUpdate WithoutAutoUpdate
Fetch a Netica network by its position in the Netica list.GetNthNetwork
Tests to see if a Netica node has a conditional probability table.HasNodeTable
Tests to see if a string is a valid as a Netica Identifier.as.IDname IDname is.IDname
Check to see if a Netica network or node object is still valid.is.active is.active,CaseStream-method is.active,list-method is.active,NeticaBN-method is.active,NeticaNode-method is.active,NeticaRNG-method is.active,NeticaSession-method
Determines whether a Netica node is discrete or continuous.is.continuous is.discrete
Computes topological proprieties of a 'Netica' network.GetRelatedNodes is.NodeRelated
Determines if a node in a Netica Network is deterministic or not.IsNodeDeterministic
Calculates the joint probability over several network nodes.JointProbability
Produces a report about the junction tree from a compiled Netica network.JunctionTreeReport NetworkCompiledSize
Learn Conditional Probability Tables from a Netica Case StreamLearnCases
Learn Conditional Probability Tables with Missing Data.LearnCPTs
Learn Netica conditional probabilities from findings.LearnFindings
Forces a collection of nodes in a Netica network to be in the same clique.GetClique is.CliqueNode MakeCliqueNode
Class '"MemoryCaseStream"'MemoryCaseStream-class
Access the contents of a MemoryCaseStreamMemoryStreamContents MemoryStreamContents<-
Finds the configuration of the nodes most likely to have lead to observed findings.MostProbableConfig
Calculates strength of relationship between two nodes in a networkMutualInfo VarianceOfReal
An object referencing a Bayesian network in Netica.is.NeticaBN NeticaBN
Class '"NeticaBN"'as.character,NeticaBN-method Compare,NeticaBN,NeticaBN-method is.element,NeticaBN,list-method NeticaBN-class print,NeticaBN-method toString,NeticaBN-method
Functions for manipulating Netica case streamsCloseCaseStream getCaseStreamLastFreq getCaseStreamLastId getCaseStreamPos is.NeticaCaseStream isCaseStreamOpen OpenCaseStream
An object referencing a node in a Netica Bayesian network.is.NeticaNode NeticaNode
Class '"NeticaNode"'as.character,NeticaNode-method Compare,NeticaNode,ANY-method is.element,NeticaNode,list-method NeticaNode-class print,NeticaNode-method toString,NeticaNode-method
Creates a Netica Random Number GeneratorFreeNeticaRNG is.NeticaRNG isNeticaRNGActive NewNeticaRNG WithRNG
Class '"NeticaRNG"'as.character,NeticaRNG-method NeticaRNG-class print,NeticaRNG-method toString,NeticaRNG-method
Creates a connection between R and NeticagetDefaultSession NeticaSession
Class '"NeticaSession"'as.character,NeticaSession-method NeticaSession-class print,NeticaSession-method startSession,NeticaSession-method stopSession,NeticaSession-method toString,NeticaSession-method
Fetches the version number of Netica.NeticaVersion
Finds nodes in a Netica network.NetworkAllNodes NetworkFindNode
Returns a list of names of unconnected edges.NetworkFootprint
Gets or Sets the name of a Netica network.NetworkName NetworkName<-
Returns or sets a display colour to use with a Netica node.bNetworkNodeSetColor
Returns a list of node sets associated with a Netica network.NetworkNodeSets
Returns a list of node labeled with the given node set in a Netica Network.NetworkNodesInSet NetworkNodesInSet<-
Changes the priority order of the node sets.NetworkSetPriority
Sets a random number generator associates with the network.NetworkSetRNG
Class '"NetworkTester"'NetworkTester-class
Gets the title or comments associated with a Netica network.NetworkComment NetworkComment<- NetworkTitle NetworkTitle<-
Undoes (redoes) a Netica operation on a network.NetworkRedo NetworkUndo
Gets user definable fields associated with a Netica network.NetworkAllUserFields NetworkUserField NetworkUserField<- NetworkUserObj NetworkUserObj<-
Creates (or destroys) a node in a Netica Bayesian network.DeleteNodes NewContinuousNode NewDiscreteNode
Returns the current marginal probability distribution associated with a node in a Netica network.IsBeliefUpdated NodeBeliefs
Returns a list of the children of a node in a Netica network.NodeChildren
Gets or sets the equation Netica uses to calculate the CPT for a nodeEquationToTable NodeEquation NodeEquation<-
Calculates expected utility for each value of a decision nodeNodeExpectedUtils
Calculates expected value for a numeric nodeNodeExpectedValue
Gets or sets the amount of experience associated with a node.NodeExperience NodeExperience<-
Returns of sets the observed value associated with a Netica node.NodeFinding NodeFinding<-
Associates names with incoming edges on a Netica node.NodeInputNames NodeInputNames<-
Gets or changes the kind of a node in a Netica network.NodeKind NodeKind<-
Accesses the levels associated with a Netica node.NodeLevels NodeLevels<-
Returns or sets the virtual evidence associated with a Netica node.NodeLikelihood NodeLikelihood<-
Gets or sets name of a Netica node.NodeName NodeName<-
Finds which Netica network a node comes from.NodeNet
Gets or sets the parents of a node in a Netica network.NodeParents NodeParents<-
Gets or sets the conditional probability table associated with a Netica node.NodeProbs NodeProbs<-
Lists or changes the node sets associated with a Netica node.AddNodeToSets NodeSets NodeSets<- RemoveNodeFromSets
Accessor for states of a Netica node.NodeNumStates NodeStates NodeStates<-
Accessors for the titles and comments associated with states of Netica nodes.NodeStateComments NodeStateComments<- NodeStateTitles NodeStateTitles<-
Gets the title or Description associated with a Netica node.NodeDescription NodeDescription<- NodeTitle NodeTitle<-
Gets user definable fields associated with a Netica node.NodeAllUserFields NodeUserField NodeUserField<- NodeUserObj NodeUserObj<-
Sets the numeric value of a continuous nodeNodeValue NodeValue<-
Gets, sets the visual position of the node on the Netica display.NodeVisPos NodeVisPos<-
Gets/sets the nodes visual appearance in Netica.NodeVisStyle NodeVisStyle<-
Returns a list of the names of the states of the parents of a Netica node.ParentNames ParentStates
Retrieves a record from a Netica Case StreamReadFindings
Clears any findings for a Netica node or network.RetractNetFindings RetractNodeFinding
Reverses a link in a Netica network.ReverseLink
Starting and stopping the Netica shared library.LicenseKey restartSession StartNetica startSession StopNetica stopSession
Accessor methods for class '"NetworkTester"'summary.NetworkTester testerConfusion testerErrorRate testerIgnore testerKappa testerLambda testerLogLoss testerNet testerQuadraticLoss testerTarget
Performs a classification recovery test on a network.testNetwork
Evaluate an expression and then close the Netica Case Stream.WithOpenCaseStream
Calculates the weight of evidence for a hypothesisewoe woe
Read or write data frame in Netica Case File format.read.CaseFile write.CaseFile
Appends the current findings to a Netica case file.WriteFindings
Reads or writes a Netica network from a file.GetNetworkFileName ReadNetworks WriteNetworks