| net_reprune | R Documentation |
Re-applies a previously computed pruning that was undone by
net_deprune, without recomputation.
net_reprune(x, ...)
## S3 method for class 'netobject'
net_reprune(x, ...)
## S3 method for class 'netobject_group'
net_reprune(x, ...)
## Default S3 method:
net_reprune(x, ...)
x |
A depruned |
... |
Ignored. |
The network (or group) with pruned weights re-applied and its pruning marked active.
net_prune, net_deprune
seqs <- data.frame(V1 = c("A","B","C"), V2 = c("B","C","A"),
V3 = c("C","A","B"))
net <- build_network(seqs, method = "relative")
pruned <- net_prune(net, threshold = 0.2)
undone <- net_deprune(pruned)
net_reprune(undone)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.