Draw a cleveland dot plot
1 2 3 |
data |
a data.frame |
xvar |
A character string of column name be used as a x-axis variable |
yvar |
A character string of column name be used as a y-axis variable. |
colorvar |
A character string of column name be used as a colour variable. Default value is NULL |
facetvar |
A character string of column name be used as a facetting variable. Default value is NULL |
reorderByX |
If true, the data is reordered by x variable |
no |
Number of data be drawn in plot |
start |
start point of x axis as ratio to minimum x variable |
interactive |
A logical value. If TRUE, an interactive plot will be returned |
decreasing |
Should the sort order be increasing or decreasing? |
... |
other arguments passed on to geom_point |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.