Learn R Programming

parsec (version 1.2.7)

summary.parsec: Summary of outputs of the evaluation function.

Description

S3 method of function summary reporting main information for an object of class parsec, obtained from function evaluation. In particular, the function computes a table showing, for each profile:

  • the variables' grades identifying the profile (if these are returned by evaluation.

  • the assigned weight.

  • whether or not it belongs to the threshold.

  • the corresponding value of the identification function.

  • the average poverty rank.

  • the different gap measures (see evaluation for details).

If the number of profiles is higher than ten, the shown table gets cut, but the method returns a data.frame providing the complete output.

Usage

# S3 method for 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

Run this code
profiles <- var2prof(varlen = c(3, 2, 4))
threshold <- c("311", "112")

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

sm <- summary(res)
summary(sm)

Run the code above in your browser using DataLab