gs.xfm.rank_graph: Rank Graph

Description Usage Arguments Value Author(s) See Also

Description

A function to rank the edges of a graph.

Usage

1
gs.xfm.rank_graph(graph, ties = "average", na.last = TRUE, ...)

Arguments

graph

[v, v] a graph with v vertices.

ties

the method to break ties. Defaults to 'average'.

  • 'average'take the average rank between the tied items.

  • 'first'choose the lowest index as the tie breaker.

  • 'last'choose the highest index as the tie breaker.

  • 'random'randomly break ties.

  • 'max'replace all tied values with the maximum rank they could occupy.

  • 'min'replace all tied values with the minimum rank they could occupy.

na.last

How to interpret missing values in the data. Defaults to TRUE.

  • TRUEmissing values in the data are put last

  • FALSEmissing values in the data are put first

...

trailing args.

Value

R [v, v] the rank of each edge, from lowest (1) to highest (n^2, or otherwise depending on ties).

Author(s)

Eric Bridgeford

See Also

stats::rank


neurodata/graphstats documentation built on May 14, 2019, 5:19 p.m.