model {bernor}R Documentation

Make a Model Object

Description

create an object of class "model" specifying an importance sampling distribution to be used by by bnmarg and bnlogl.

Usage

model(name, hyper, parm = double(0))

Arguments

name

a character string, uses partial matching (see match.arg) to find match in models().

hyper

a integer vector, that specifies any dimension information about the model, in particular, in conjunction with the model name, specifies the dimension and structure of the parameter vector and state vector.

parm

the parameter vector.

Value

An object of class "model".

See Also

bnmarg, bnlogl.

Examples

model("gauss", 42, 1.2)

[Package bernor version 0.3-8 Index]