| head.dynet_metric | R Documentation |
Truncates the rows without rewriting what the measure is. The printed
header still describes the series the rows came from, and a first n of N rows line records the truncation.
## S3 method for class 'dynet_metric'
head(x, n = 6L, ...)
x |
A |
n |
Number of rows to keep. Defaults to six. |
... |
Passed to the default method. |
A dynet_metric with at most n rows, carrying the source counts
so its header stays true to the series.
dn <- dynet(school_contacts)
degree <- centrality_series(dn, step = 4, window = 4)
head(degree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.