ropegraph {rope} | R Documentation |
Convenience wrapper for rope
for adjacency matrices
Description
When modeling graphs it may be more convenient to store data as matrices instead of row vectors.
Usage
ropegraph(data, B, ...)
Arguments
data |
List of symmetric matrices, one matrix for each penalization level |
B |
Number of bootstraps used to construct |
... |
Additional arguments are passed on to |
Value
A list with components
selection |
list of symmetric matrices, one matrix for each fdr target |
q |
symmetric matrix of q-values |
level |
index of most separating parameter value |
alt.prop |
estimated proportion of alternative variables |
Examples
## Not run:
data # a list of symmetric matrices, one matrix for each penalization level,
# each matrix containing selection counts for each edge over 100 bootstraps
fdr <- c(0.05, 0.1)
result <- rope(data, 100, fdr)
## End(Not run)
[Package rope version 1.0 Index]