Description Usage Arguments Details Value Examples
Data mining to learn the graph.
1 | mixed_search(Y, data_type = NULL, IC = "BIC")
|
Y |
A data matrix of dimensions n (observations) by p (nodes) |
data_type |
Vector of length p. The type of data, with options of "b" (binary), "p" (Poisson), and "g" (Gaussian). |
IC |
Character string. The desired information criterion. Options include
|
Only backwards selection is currently implemented. Only an adjacency matrix is provided.
An object of class mixed_search
including
wadj: Weighted adjacency matrix, corresponding to the partial correlation network.
adj: Adjacency matrix (detected effects).
pcors: Partial correlations.
n: Sample size.
p: Number of nodes.
Y: Data.
1 2 3 4 5 | # data
Y <- ifelse( ptsd[,1:5] == 0, 0, 1)
# search data (ising model)
fit <- mixed_search(Y, data_type = rep("b", 5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.