Description Usage Arguments Examples
Draw a cleveland dot plot
1 2 3 4 5 6 7 8 9 10 11 12  | 
data | 
 a data.frame  | 
mapping | 
 Set of aesthetic mappings created by aes or aes_.  | 
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?  | 
use.label | 
 Logical. Whether or not use column label in case of labelled data  | 
use.labels | 
 Logical. Whether or not use value labels in case of labelled data  | 
... | 
 other arguments passed on to geom_point_interactive  | 
1 2 3 4 5 6 7 8  | require(ggplot2)
require(ggiraph)
ggCLE(data=mtcars,aes(x=mpg),decreasing=FALSE,interactive=TRUE)
ggCLE(data=mtcars,aes(x=mpg,color=am,facet=am),interactive=TRUE)
if(requireNamespace("gcookbook",quietly=TRUE)){
   require(gcookbook)
   ggCLE(data=tophitters2001,aes(x=avg,y=name,color=lg,facet=lg),no=30,interactive=TRUE)
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.