Description Usage Arguments Value Examples
The optimization is performed using the BFGS
method in the optim
function. Note that the likelihood function includes 2^N
terms for N
nodes,
so parameter estimation can be very slow with more than about 20-25 nodes.
1 2 |
x |
A binary matrix. Each row corresponds to an observed sample and each column corresponds to one node in the observed network. |
prior |
An object of class |
maxit, trace, hessian, ... |
Arguments passed to |
parlist |
user-specified starting values (optional). |
a list
with the following elements:
alpha |
A vector of estimated univariate potentials ("intercepts"). Larger values support higher probabilities for the corresponding node. |
beta |
A symmetric matrix of bivariate potentials ("interaction strengths"). Larger values support higher probabilities for the corresponding pair of nodes. |
prior |
The prior object that was used during model fitting. |
opt |
The list returned by |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.