PnodeMin | R Documentation |
This is an experimental class which contains all of the meta-data of a Pnode, but isn't linked to backing Bayes net software. Its intended use is for assistance in building elicitation user interfaces.
PnodeMin(name, states = c("Yes", "No"), parents = list(), title = title(),
description = character(), labels = character(), continuous = FALSE,
tvals = effectiveThetas(length(states)), rules = "Compensatory",
link = "partialCredit", alphas = 1, betas = 1, linkScale = NA,
QQ = 1, PriorWeight = NA, CPT = NULL)
name |
Name of the node. |
states |
Node state names. |
parents |
List of other nodes to use a parents. |
title |
Title of the node. |
description |
Node description. |
labels |
Node labels. |
continuous |
Logical flag for continuous nodes. |
tvals |
Values assigned to node levels. |
rules |
Combination rules. |
link |
Link function. |
alphas |
Slope parameters. |
betas |
Intercept parameters. |
linkScale |
Scale parameter |
QQ |
Inner Q-matrix |
PriorWeight |
Prior weights |
CPT |
Conditional probability table. |
This class is bascially just a list containing the necessary fields. See the various accessor functions for the interpretation of the fields for more complete defintion.
An Pnode
object.
This is an experimental class. It may be removed in future releases.
Russell Almond
Pnode
.
anode <- PnodeMin("anode")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.