Summary {L1centrality}R Documentation

Summary Methods in the L1centrality Package

Description

summary() methods for the classes in the L1centrality package.

Usage

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

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

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

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

## S3 method for class 'summaryL1centrality'
print(x, digits = max(3L, getOption("digits") - 3L), ...)

Arguments

object

An object used to select a method.

...

Further arguments passed to or from other methods. This argument is ignored here.

x

A summaryL1centrality object, obtained as a result of the function summary.L1cent() or summary.L1centLOC() or summary.L1centNB().

digits

Minimal number of significant digits, see print.default().

Value

For the methods for the class L1cent, L1centLOC, and L1centNB, object of class summaryL1centrality is returned. It is a summary of the prominence values with the five-number summary, mean, and the Gini coefficient.

For the method for the class L1centEDGE, number of local medians at each locality level alpha is returned.

References

S. Kang and H.-S. Oh. On a notion of graph centrality based on L1 data depth. arXiv preprint arXiv:2404.13233, 2024.

See Also

L1cent(), L1centLOC(), L1centNB(), L1centEDGE(), Heterogeneity.

Examples

summary(L1cent(MCUmovie))
summary(L1centLOC(MCUmovie, alpha = c(5/32, 10/32)))
head(summary(L1centNB(MCUmovie)))
summary(L1centEDGE(MCUmovie, alpha = c(5/32, 10/32)))

[Package L1centrality version 0.3.1 Index]