Description Usage Arguments Details Value Author(s)
View source: R/horizontal plot.R
This function makes a plot that is intented to be used for comparison of the scores in a single variable
1 | rankingPlot(data, name, num, limits, colores, n, paleta)
|
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 |
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.
a ggplot graph
Andr<c3><a9>s Mej<c3><ad>a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.