Description Usage Arguments Author(s)
View source: R/setPolicyValues.R
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.
1 | setPolicyValues(network, ...)
|
network |
A Hyde Network object |
... |
arguments named for nodes in the network. The value of each
argument will be assigned to the |
Jarrod Dalton and Benjamin Nutter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.