summary.dynet_pshifts: Summarise participation shifts by family

View source: R/pshifts.R

summary.dynet_pshiftsR Documentation

Summarise participation shifts by family

Description

Summarise participation shifts by family

Usage

## S3 method for class 'dynet_pshifts'
summary(object, ...)

Arguments

object

A dynet_pshifts result.

...

Ignored.

Value

A plain data.frame, one row per shift family, ordered by descending count: family, its count, the share of all classified transitions it accounts for, and top_shift, the single most frequent shift type within it. share is NaN when nothing was classified. The family totals are sums of the count column as it stands, so they are transition counts for an output = "final" result.

Examples

dn <- dynet(school_contacts)
shifts <- pshifts(dn)
summary(shifts)

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