Description Usage Arguments Examples
This function allows you to estimate the coefficients of the adjacency matrix of a previously learned graph.
1 2 3 4 5 6 7 | fit.coefficients(
g,
df,
to = c("igraph", "adjacency", "edges", "graph", "bnlearn"),
from = c("auto", "adjacency", "edges", "graph", "igraph", "bnlearn"),
cluster = parallel::detectCores()
)
|
g |
Graph object. |
df |
Dataset. |
to |
Output format (optional): 'adjacency', 'edges', 'graph', 'igraph', or 'bnlearn'. Default: 'igraph' |
from |
Input format (optional): 'auto', 'adjacency', 'edges', 'graph', 'igraph', or 'bnlearn'. Default: 'auto' |
cluster |
A cluster object from package parallel or the number of cores to be used (optional). Default: parallel::detectCores() |
1 | g <- fit.coefficients(g, df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.