rankingPlot: Ranking Plot

Description Usage Arguments Details Value Author(s)

View source: R/horizontal plot.R

Description

This function makes a plot that is intented to be used for comparison of the scores in a single variable

Usage

1
rankingPlot(data, name, num, limits, colores, n, paleta)

Arguments

data

a dataframe with the info

name

the name of a column to be used as the names of the elements

num

the name of the numeric variable to be compared

limits

range of the plot should be in the format c(min,max)

colores

name of a column giving information of the color of each point

n

show the top n cases

paleta

colors to be used in the points

Details

This function takes a dataframe and two columns, one of the name and the other of a numeric attribute, this function orders the data and makes a horizontal point plot that makes easy compare the results between units.

Value

a ggplot graph

Author(s)

Andr<c3><a9>s Mej<c3><ad>a


kuhsibiris/MIDEPlots documentation built on May 20, 2019, 7:06 p.m.