summary.parsec: Summary of the results obtained by the evaluation function

Description Usage Arguments See Also Examples

View source: R/summary.parsec.R

Description

S3 method of the function summary that for an object of class parsec, obtained from the evaluation function, write the main informations. In particular, it writes a table that for each profile shows

If the number of profiles is higher then ten, the showen table is cut, but this method returns a data.frame representing the complete table as output. This data.frame can also be summarized.

Finally this method shows the average poverty and wealth gaps and the inequality measure.

Usage

1
2
## S3 method for class 'parsec'
summary(object, ...)

Arguments

object

an object of S3 class parsec, output of the evaluation function.

...

added for consistency with the generic method.

See Also

evaluation

Examples

1
2
3
4
5
6
7
profiles <- var2prof(varlen = c(3, 2, 4))
threshold <- c("311", "112")

res <- evaluation(profiles, threshold, nit = 10^3)

sm <- summary(res)
summary(sm)

parsec documentation built on May 2, 2019, 6:08 p.m.