tail.dynet_metric: Last rows of a temporal measure

View source: R/result.R

tail.dynet_metricR Documentation

Last rows of a temporal measure

Description

The counterpart of head.dynet_metric(); the header still describes the series and a ⁠last n of N rows⁠ line records the truncation.

Usage

## S3 method for class 'dynet_metric'
tail(x, n = 6L, ...)

Arguments

x

A dynet_metric.

n

Number of rows to keep. Defaults to six.

...

Passed to the default method.

Value

A dynet_metric with at most n rows, carrying the source counts so its header stays true to the series.

Examples

dn <- dynet(school_contacts)
degree <- centrality_series(dn, step = 4, window = 4)
tail(degree)

Dynet documentation built on Oct. 7, 2026, 5:08 p.m.