SUMMARYVAR Subcommand (IGRAPH command)

SUMMARYVAR specifies the variable or function for summarizing a pie element. It can only have the built-in variables $COUNT or $PCT or a user-defined variable name.

Specifying a user-defined variable on SUMMARYVAR requires specifying a summary function on the PIE subcommand. Valid summary functions include SUM, SUMAV, SUMSQ, NLT(x), NLE(x), NEQ(x), NGT(x), and NGE(x). The slices of the pie represent categories defined by the values of the summary function applied to SUMMARYVAR.