addOrRestoreVariable: Add or restore variable to data tables

Description Usage Arguments Value

View source: R/AddNode.R

Description

Add or restore variable to data tables. Checks if the new variable to be added is already present in the master data tables. If so, and it is valid (the desired values match stored values) it is 'restored' which simply means adding it to the datamap. Otherwise the variable is added to the master data tables and then to the map.

Usage

1
addOrRestoreVariable(cn, tableinfo, newNode, newvalues)

Arguments

cn

An RODBC connection

tableinfo

A table information object

newNode

The name of the new variable

newValues

The number of values the new variable has

Value

The update tableinfo object


mickash/Adaptive-Bayesian-Networks documentation built on Nov. 14, 2019, 12:14 a.m.