setPolicyValues: Assign Default Policy Values

Description Usage Arguments Author(s)

View source: R/setPolicyValues.R

Description

By default, HydeNet uses factor levels for policy values in a decision node, assuming the decision node is a factor variable. In cases where the decision node is a numeric variable, HydeNet will first try to assign the first, second, and third quartiles as policy values. setPolicyValues allows the user flexibility in which values are actually used in the decision network. It can also be used to restrict the levels of a factor variable to a subset of all levels. Policy values may also be set in setNode, but setPolicyValues makes it possible to set the values for multiple nodes in one call.

Usage

1
setPolicyValues(network, ...)

Arguments

network

A Hyde Network object

...

arguments named for nodes in the network. The value of each argument will be assigned to the nodePolicyValues element of the HydeNetwork object.

Author(s)

Jarrod Dalton and Benjamin Nutter


nutterb/HydeNet documentation built on July 13, 2020, 5:21 p.m.