Interactive Web-Based Data Visualization with R, Plotly, and Shiny by Sievert Carson;
Author:Sievert, Carson;
Language: eng
Format: epub
Publisher: CRC Press LLC
Published: 2020-05-15T00:00:00+00:00
FIGURE 16.19: Engine displacement versus highway miles per gallon by class of car. The linear model for each class, as well as the individual observations, can be selected by hovering over the line of fitted values. An individual observation can also be selected by hovering over the relevant point. For a video demonstration of the interactive, see https://bit.ly/smooth-highlight. For the interactive, see https://plotly-r.com/interactives/smooth-highlight.html
Figure 16.19 demonstrates highlighting in a single view when the querying variable is the row index, but the linking could also be done by matching the querying variable with the ggplot2 group of interest, as is done in Figure 16.20. This way, when a user highlights an individual point, the entire group is highlighted (instead of just that one point).
m <- highlight_key(mpg, ~class)
p1 <- ggplot(m, aes(displ, fill = class)) + geom_density()
p2 <- ggplot(m, aes(displ, hwy, fill = class)) + geom_point()
subplot(p1, p2) %>% hide_legend() %>% highlight("plotly_hover")
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Biomathematics | Differential Equations |
Game Theory | Graph Theory |
Linear Programming | Probability & Statistics |
Statistics | Stochastic Modeling |
Vector Analysis |
Modelling of Convective Heat and Mass Transfer in Rotating Flows by Igor V. Shevchuk(6199)
Weapons of Math Destruction by Cathy O'Neil(5775)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(4452)
Descartes' Error by Antonio Damasio(3134)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(3074)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(3022)
TCP IP by Todd Lammle(2981)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2857)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2833)
The Tyranny of Metrics by Jerry Z. Muller(2818)
The Book of Numbers by Peter Bentley(2744)
The Great Unknown by Marcus du Sautoy(2515)
Once Upon an Algorithm by Martin Erwig(2450)
Easy Algebra Step-by-Step by Sandra Luna McCune(2432)
Lady Luck by Kristen Ashley(2385)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(2356)
Police Exams Prep 2018-2019 by Kaplan Test Prep(2329)
All Things Reconsidered by Bill Thompson III(2236)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(2205)
