plot.parsec: Plot of the results obtained by the evaluation function

Description Usage Arguments See Also Examples

View source: R/plot.parsec.R

Description

Different representation of the results obtained by the evaluation function.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'parsec'
plot(
    x,
    which = c("Hasse", "threshold", "identification", "rank", "gap"),
    ask = dev.interactive(),
    shape = c("square", "circle", "equispaced"),
    ...
)

Arguments

x

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

which

the names of the graphs to be plotted (all by default), the user can choose between

  • Hasse, the Hasse diagram of the poset, see plot.cover for details,

  • threshold, the plot relative frequencies of the times a profile is used as threshold in the sampled linear extensions. This result is useful for posterior valuation of the poset threshold,

  • rank, representation of the rank distribution for each profile (X-axis), through bar-plots, where the heights of the blocks represents the relative frequencies (total height equal to one for all the profiles) and the color represents the rank: white rank one, black the higher rank and a gray scale for the middle ranks,

  • gap, a unified representation of the point relative poverty gap (from zero downward) and of the point relative wealth gap (from zero upward). The horizontal lines represents the average poverty gap and the average wealth gap. The darker vertical dashed lines represent the threshold profiles.

ask

boolean value indicating whether the system has to ask before changing the plot.

shape

the shape of the Hasse diagram, see plot.cover for details.

...

further arguments for the plot.cover function.

See Also

evaluation, plot.cover

Examples

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

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

plot(res)

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