This lesson is still being designed and assembled (Pre-Alpha version)

Tables

Overview

Teaching: 0 min
Exercises: 0 min
Questions
  • What are histograms?

  • What are violin plots?

  • What are density plots?

  • What are boxplots?

Objectives
  • FIXME

den her er værd at kigge på: https://cedricscherer.netlify.app/2019/08/05/a-ggplot2-tutorial-for-beautiful-plotting-in-r/#text

We do not typically think of tables as visualisations. But they are often the best way of showing data.

Charts use an abstraction to show the data. And sometimes that abstraction gets in the way. Tables present data as close to raw as possible.

Use tables when data cannot be presented visually easily, or when the data requires more specific attention.

The goal of presenting data is to make trends, connections, differences or similarities more apparent to the reader.

library(reactable)

table_ex <- mtcars %>% 
  select(cyl, mpg, disp) %>% 
  reactable()

table_ex
Error in loadNamespace(name): there is no package called 'webshot'

Maybe not a visualisation as we usually understand it.

But still

https://themockup.blog/posts/2020-09-04-10-table-rules-in-r/

Også denne, men den hører hjemme et andet sted.

Key Points

  • FIXME