View source: R/summary.parsec.R
summary.parsec | R Documentation |
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.
## S3 method for class 'parsec'
summary(object, ...)
object |
an object of S3 class |
... |
added for consistency with the generic method. |
evaluation
profiles <- var2prof(varlen = c(3, 2, 4))
threshold <- c("311", "112")
res <- evaluation(profiles, threshold, nit = 10^3)
sm <- summary(res)
summary(sm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.