rGibbs {bingat} | R Documentation |
Generate Random Data
Description
Generate random data sampled from the Gibbs distribution.
Usage
rGibbs(gstar, tau, type, numGraphs = 1)
Arguments
gstar |
G star vector. |
tau |
A single value that affects the dispersion of the generated data. |
type |
The type of graph being used (adjmatrix or adjmatrixlt). |
numGraphs |
The number of graphs to generate. |
Value
A data frame containing all the graphs generated.
Author(s)
Terrence Brooks, Berkley Shands, Skye Buckner-Petty, Patricio S. La Rosa, Elena Deych, William D. Shannon
Examples
data(braingraphs)
braingstar <- estGStar(braingraphs)
braintau <- estTau(braingraphs, "adjMatrix", braingstar)
randombraingraphs <- rGibbs(braingstar, braintau, "adjMatrix", 3)
randombraingraphs[1:5,]
[Package bingat version 1.3 Index]