Learn R Programming

gRain (version 1.3-2)

generics: gRain generics

Description

Generic functions etc for the gRain package

Usage

nodeNames(x)

# S3 method for grain nodeNames(x)

nodeStates(x, nodes = nodeNames(x))

# S3 method for grain nodeStates(x, nodes = nodeNames(x))

universe(object, ...)

# S3 method for grain universe(object, ...)

# S3 method for grainEvidence_ varNames(x)

# S3 method for grain rip(object, ...)

uni(object)

# S3 method for grain uni(object)

pot(object)

# S3 method for grain pot(object)

cpt(object)

# S3 method for cpt_grain cpt(object)

cpt(object, position) <- value

# S3 method for cpt_grain cpt(object, position) <- value

potential(object)

# S3 method for grain potential(object)

# S3 method for cpt_spec vpar(object, ...)

# S3 method for cpt_grain vpar(object, ...)

Arguments

x, object

A relevant object.

nodes

Some nodes of the object.

...

Additional arguments; currently not used.

position

Where to insert 'value'

value

Value to insert at 'position'