home.social

#tinyplot — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #tinyplot, aggregated by home.social.

  1. CW: unpopular opinion about Tidyverse

    @kernpanik Usually, I also try to stick to base or lightweight packages (, , , ...). Methinks, since most tutorial promote the tidyverse, some do not know base equivalent. However, base data frame operations may require more careful handling of row order, factor levels, and preserving the data frame structure. dplyr maintains a consistent behavior across grouped operations.

  2. CW: unpopular opinion about Tidyverse

    @kernpanik Usually, I also try to stick to base #rstats or lightweight packages (#tinyplot, #tinytable, #rdatatable, ...). Methinks, since most tutorial promote the tidyverse, some do not know base equivalent. However, base data frame operations may require more careful handling of row order, factor levels, and preserving the data frame structure. dplyr maintains a consistent behavior across grouped operations.

  3. CW: unpopular opinion about Tidyverse

    @kernpanik Usually, I also try to stick to base #rstats or lightweight packages (#tinyplot, #tinytable, #rdatatable, ...). Methinks, since most tutorial promote the tidyverse, some do not know base equivalent. However, base data frame operations may require more careful handling of row order, factor levels, and preserving the data frame structure. dplyr maintains a consistent behavior across grouped operations.

  4. CW: unpopular opinion about Tidyverse

    @kernpanik Usually, I also try to stick to base #rstats or lightweight packages (#tinyplot, #tinytable, #rdatatable, ...). Methinks, since most tutorial promote the tidyverse, some do not know base equivalent. However, base data frame operations may require more careful handling of row order, factor levels, and preserving the data frame structure. dplyr maintains a consistent behavior across grouped operations.

  5. CW: unpopular opinion about Tidyverse

    @kernpanik Usually, I also try to stick to base #rstats or lightweight packages (#tinyplot, #tinytable, #rdatatable, ...). Methinks, since most tutorial promote the tidyverse, some do not know base equivalent. However, base data frame operations may require more careful handling of row order, factor levels, and preserving the data frame structure. dplyr maintains a consistent behavior across grouped operations.

  6. 🎨 How to create elegant with base and the pkg

    📈 useR! 2025 presentation by Grant McDermott @gmcd presents

    youtube.com/watch?v=MOB-QS-vMeY

  7. @rempsyc
    No no, the plot type itself is totally fine. I'm just confused that you invoke plot() and get something that I would expect from or ggplot2.

  8. 🚨 The pkg for now also has support for barplots (in the R-universe version).

    Grouping and faceting can be done using tinyplot's formula-based syntax.

    Example: Frequencies of penguin species by island, stacked by sex. (Code in alt text).

    grantmcdermott.com/tinyplot/

  9. @lwpembleton I just came across your post. I took it as inspiration to achieve sth similar with base and

    There is one small issue that I could not solve instantly with the Cylinder as a factor. Therefore, this `Cylinders <- as.factor(mtcars$cyl)` hack. Maybe @gmcd or @zeileis has a quick suggestion?

  10. Gráficos feitos com #RStats, usando #RDataTable para ler e tabular os dados, e #TinyPlot (@gmcd) para plotar

  11. @Lluis_Revilla

    is a pleasure to work with. Sometimes mind bending (why does it not work? 🤔 … ahh, lists 🤦‍♂️)
    but most of the time great.

    I use it in combination with . I had situations where my code got faster and shorter by doing this.

    Enjoy

  12. @lwpembleton

    Christmal special for the R base plot folks:

    take a look at the latest developments.

    @gmcd et al. have a nice tool for you.

    install.packages("tinyplot", repos = "grantmcdermott.r-universe.dev")

  13. I just used again. What a pleasure. What a smooth tool.

  14. Hi

    Can anybody point me to good base R plot resources (templates, tutorials …) please?

    No , no

    Something like and Zeileis & Murrell, "Coloring in R's Blind Spot", The R Journal, 2023 doi.org/10.32614/RJ-2023-071

  15. Starting with is a great way to introduce students to the world of . It's not just about teaching programming skills, but also about explaining other technologies like , , , & ! 💻 And I'm convinced that we should focus on building a small solid foundation ( 🙂 ). Think of base R (aggregate, subset, …), and graphics () instead of diving straight into popular packages like . Let's keep it simple! Who's with me?

  16. Starting with #RMarkdown is a great way to introduce students to the world of #rstats. It's not just about teaching programming skills, but also about explaining other technologies like #LaTeX, #YAML, #Rnw, #markdown & #Rscript! 💻 And I'm convinced that we should focus on building a small solid foundation (#smallR 🙂 ). Think of base R (aggregate, subset, …), #rdatatable and graphics (#tinyplot) instead of diving straight into popular packages like #tidyverse. Let's keep it simple! Who's with me?

  17. Starting with #RMarkdown is a great way to introduce students to the world of #rstats. It's not just about teaching programming skills, but also about explaining other technologies like #LaTeX, #YAML, #Rnw, #markdown & #Rscript! 💻 And I'm convinced that we should focus on building a small solid foundation (#smallR 🙂 ). Think of base R (aggregate, subset, …), #rdatatable and graphics (#tinyplot) instead of diving straight into popular packages like #tidyverse. Let's keep it simple! Who's with me?

  18. Starting with #RMarkdown is a great way to introduce students to the world of #rstats. It's not just about teaching programming skills, but also about explaining other technologies like #LaTeX, #YAML, #Rnw, #markdown & #Rscript! 💻 And I'm convinced that we should focus on building a small solid foundation (#smallR 🙂 ). Think of base R (aggregate, subset, …), #rdatatable and graphics (#tinyplot) instead of diving straight into popular packages like #tidyverse. Let's keep it simple! Who's with me?

  19. Starting with #RMarkdown is a great way to introduce students to the world of #rstats. It's not just about teaching programming skills, but also about explaining other technologies like #LaTeX, #YAML, #Rnw, #markdown & #Rscript! 💻 And I'm convinced that we should focus on building a small solid foundation (#smallR 🙂 ). Think of base R (aggregate, subset, …), #rdatatable and graphics (#tinyplot) instead of diving straight into popular packages like #tidyverse. Let's keep it simple! Who's with me?