View source: R/link_prediction.R
| plot.net_link_prediction | R Documentation |
Plots predicted links overlaid on the existing network. Requires the
cograph package for splot().
## S3 method for class 'net_link_prediction'
plot(x, method = NULL, top_n = 5L, ...)
x |
A |
method |
Character. Which method's predictions to plot. Default: first method. |
top_n |
Integer. Number of top predictions to show. Default: 5. |
... |
Additional arguments passed to |
The input object, invisibly.
## Not run:
net <- build_network(seqs, method = "relative")
pred <- predict_links(net)
plot(pred, top_n = 10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.