6 Interactive Graphics with dplot3
.:rtemis 0.79: Welcome, egenn [x86_64-apple-darwin15.6.0 (64-bit): Defaulting to 4/4 available cores] Documentation & vignettes: https://rtemis.netlify.com
Interactive graphics offer a flexible and dynamic way to communicate information, great for websites / web applications and live demonstrations. rtemis uses the powerful plotly open source graphing library and other libraries built on top of that.
While viewing these graphs, try using the mouse to hover over and click to interact with the graphic elements - especially with the 3D plots.
6.1 Density and Histograms
To plot multiple traces, you can either pass a list, or define groups by passing a factor to the
group argument. By default,
mode = "overlap", which draws traces in the same plot.
Note that non-numeric columns are automatically omitted.
You can set
mode = "ridge" to create a multiplot:
By default, “ridge” mode will order plot order by variable mean. This can be changed using the
ridge.order.on.mean when you want to maintain group ordering - for example, if groups represent temporal information.