| net_pruning_details | R Documentation |
Returns the edges removed by net_prune as a tidy
one-row-per-edge data frame, with the method, cut-off, and retained/removed
counts attached as attributes and shown by its print method.
net_pruning_details(x, ...)
## S3 method for class 'netobject'
net_pruning_details(x, ...)
## S3 method for class 'netobject_group'
net_pruning_details(x, ...)
## Default S3 method:
net_pruning_details(x, ...)
x |
A pruned |
... |
Ignored. |
For a netobject: a net_pruning_details data frame
(columns from, to, weight) of removed edges. For a
netobject_group: a named list of such data frames.
net_prune
seqs <- data.frame(
V1 = c("A","B","A","C","B"), V2 = c("B","C","B","A","C"),
V3 = c("C","A","C","B","A"))
net <- build_network(seqs, method = "relative")
net_pruning_details(net_prune(net, threshold = 0.2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.