Learn R Programming

rbmn (version 0.9-6)

estimate8nbn: estimating the /nbn/ parameters

Description

From a /nbn/ to describe the DAG, and a data.frame containing the necessary observations, returns the /nbn/ with all its parameters newly estimated.

Usage

estimate8nbn(nbn, data)

Value

The resulting /nbn/ with the estimated parameters.

Arguments

nbn

The initial /nbn/.

data

The data frame comprising all /nbn/ nodes.

Details

No constraints are put on the parameters.

Examples

Run this code
 data(boco);
 print8nbn(rbmn0nbn.05);
 print8nbn(estimate8nbn(rbmn0nbn.05, boco));

Run the code above in your browser using DataLab