ggiraph + shiny is fantastic!
~30 lines of code.
#dataviz #rstats
Part of today's interactive worksheet, see also here.
wilkelab.org/SDS375/schedul…
Also, a live demo can be seen here (minus the lasso, it only works in shiny).
wilkelab.org/SDS375/slides/…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Claus Wilke

Claus Wilke Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @ClausWilke

28 Feb
This is a great talk by @jeremyphoward about notebook-centered python development. Could be very useful in particular for writing scientific software. 1/n
I would like to emphasize, though, that this is mostly possible due to a tool Howard has written, nbdev, which turns notebooks into python packages. 2/n github.com/fastai/nbdev
I was always very skeptical about notebook-centered development, but I also didn't have nbdev, so I think my concerns were valid at the time. 3/n
Read 9 tweets
23 Feb
This spring, I'm teaching a new class on data visualization with R. I'm posting all materials as I go. Feel free to follow along. Each lecture has slides and an interactive worksheet. #rstats
wilkelab.org/SDS375/syllabu…
I'm using xaringan for slides, learnr for interactive worksheets, and distill for the website. All sources are available on github. github.com/wilkelab/SDS375
I'm about a third through the semester. New postings every week! 😄
Read 4 tweets
27 Jun 20
Hah, glad you asked. It's very simple. Thread. 1/n
First you subdivide all authors into two groups, people who have PI status (usually some sort of faculty member) and people who don't (grad students, postdocs, technicians, etc.). 2/n
Among the non-PIs, you sort them in order of their contribution, from most to least. 3/n
Read 14 tweets
24 Jun 20
Spatial plotting just improved a lot in the development version of ggplot2. In a nutshell, you can now mix and match regular geoms with `geom_sf()` and `coord_sf()`. If you're doing any geospatial plotting, please test this out. 1/n
#rstats #ggplot2 Image
The key idea is that `coord_sf()` now has a default coordinate system that it uses for any objects that are not sf (i.e., don't come with their own coordinate information). The default is longitude/latitude, which makes it super easy to, for example, mark a specific location. 2/n ImageImage
This works with essentially any geom, e.g., we can mark a couple of cities and draw an enclosing polygon. 3/n ImageImage
Read 9 tweets
19 Jun 20
"We have plenty of hospital bed capacity" is an awful argument for reopening in the face of a preventable infectious disease. For comparison, consider the following statements. 1/n
houstonchronicle.com/politics/texas…
No need to wear a hardhat on this construction site. We have plenty of hospital bed capacity. 2/n
No need to wear a seatbelt. We have plenty of hospital bed capacity. 3/n
Read 9 tweets
3 Nov 17
1. GOP tax bill would tax tuition wavers for grad students. This would be a disaster for US STEM PhD education.
chronicle.com/article/Republ…
2. Currently, STEM PhDs make about $30K per year and get tuition wavers. They can do their PhD without taking on debt, but barely so.
3. If they had to pay taxes on a calculated $50-$60K income (incl. tuition), the actual income would not cover living expenses anymore.
Read 9 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!