Martine Jansen's Avatar

Martine Jansen

@martinejansen.bsky.social

Institutional researcher for higher education , statistician, data scientist, and #rstats enthousiast

92 Followers  |  141 Following  |  80 Posts  |  Joined: 22.11.2024  |  2.2578

Latest posts by martinejansen.bsky.social on Bluesky

Yes, that did the trick! Thank you!

25.09.2025 06:41 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

my_header <- paste0("Ham", "burger")

tt(dat) |> group_tt(
j = list(
my_header = 1:3,
"Halloumi" = 4:5,
"Tofu" = 7))

results in a label spanning column 1, 2 and 3 named "my_header" instead of the desired "Hamburger".
Is there a way to have a spanning label resulting from code?

24.09.2025 12:26 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Hi @vincentab.bsky.social , a question. Is it possible to use an R expression as a label spanning columns in tt:group_tt? So that in example below "Hamburgers" is resulting from an R expression?

tt(dat) |> group_tt(
j = list(
"Hamburgers" = 1:3,
"Halloumi" = 4:5,
"Tofu" = 7))

24.09.2025 11:58 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
R/Medicine 2026

rconsortium.github.io/RMedicine_we...

20.09.2025 16:46 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Een rechthoekige driehoek met zijden 3, 4 en 5

Een rechthoekige driehoek met zijden 3, 4 en 5

Fijne Pythagoras dag!
9-16-25 :pythagoras:

16.09.2025 07:22 โ€” ๐Ÿ‘ 148    ๐Ÿ” 37    ๐Ÿ’ฌ 14    ๐Ÿ“Œ 5
Preview
An LLM that never hallucinates There are two big errors we can make with information, but one often gets forgotten

Want a large language model that never hallucinates? Easy: just get it to always print โ€œI donโ€™t knowโ€, regardless of the input.

If you find this solution is a bit unsatisfying, youโ€™re not alone. But it hits on a crucial trade-off with learning machines and decision-making more generally.

New post:

10.09.2025 17:53 โ€” ๐Ÿ‘ 36    ๐Ÿ” 11    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 1
library(tinytable)

dData <- data.frame(one = c(1,1),
                    two = c(2,2),
                    three = c(3,3))

dData |>
  tt(theme = "void") |>
  group_tt(j = 
     list("no" = 1,
          "yes" = 2:3)) |>
   style_tt(
    line = "tblr",
    line_width = 0.01,  # doesnot show
    line_color = "red"
  )

dData |>
  tt(theme = "void") |>
  group_tt(j = 
     list("no" = 1,
          "yes" = 2:3)) |>
   style_tt(
    line = "tblr",
    line_width = 0.1,   # does show
    line_color = "red"
  )

library(tinytable) dData <- data.frame(one = c(1,1), two = c(2,2), three = c(3,3)) dData |> tt(theme = "void") |> group_tt(j = list("no" = 1, "yes" = 2:3)) |> style_tt( line = "tblr", line_width = 0.01, # doesnot show line_color = "red" ) dData |> tt(theme = "void") |> group_tt(j = list("no" = 1, "yes" = 2:3)) |> style_tt( line = "tblr", line_width = 0.1, # does show line_color = "red" )

Thanks. I did try that, see the screenshot with code making it as alt-text. With line_width of 0.1 it is OK, with line_width of 0.01 there is grey to be seen, despite having set theme = "void". Is there something else I can do to get a very thin colored line?

09.09.2025 17:02 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
group โ€“ tinytable

A question; you write about how to format text in grouped columns: vincentarelbundock.github.io/tinytable/vi...
But how can I style the borders? I can't find the way to colorize the border between the row with colnames and the added row with group names. Do you maybe have a suggestion?

09.09.2025 14:02 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

This will (hopefully :) ) make table polishing in #quarto #rstats #typst so much more easy: #tinytable in vincentarelbundock.github.io/tinytable/vi...

08.09.2025 15:18 โ€” ๐Ÿ‘ 10    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

My workaround is making separate plots, and then combine them with {patchwork} with a plot_spacer() for the empty slots.

07.09.2025 11:09 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Cรฉdric Scherer Blog by Cรฉdric Scherer

@cedricscherer.com has a nice collection of links on his website: www.cedricscherer.com/top/links/

07.09.2025 11:03 โ€” ๐Ÿ‘ 5    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

๐Ÿฆ‹๐Ÿชจs!

01.09.2025 19:01 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Interesting! Indeed I did learn some new things:) First one I will probably use is `update_geom_defaults()`. Thank you!

29.08.2025 10:56 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
GitHub - EmilHvitfeldt/quarto-revealjs-editable: Repositioning and resizing of images and text directly in quarto revealjs slides Repositioning and resizing of images and text directly in quarto revealjs slides - GitHub - EmilHvitfeldt/quarto-revealjs-editable: Repositioning and resizing of images and text directly in quarto...

This is nice! I got it working, just as you said on github.com/EmilHvitfeld.... But I do not see the "Saved Moved Elements" like you mention in 'Once you are happy with the sizes, open the menu (M), go to tools, and click "Save Moved Elements".' Any suggestions? Thanks

21.08.2025 11:14 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
ggiraph-book

Anyone an idea where I can find the source code of ardata.fr/ggiraph-book/ ? The github link on the website is dead. #ggplot2 #rstats #ggiraph. Thanks!

20.08.2025 14:37 โ€” ๐Ÿ‘ 2    ๐Ÿ” 3    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
The cover of Bayesian Data Analysis book

The cover of Bayesian Data Analysis book

The cover of Regression and Other Stories book

The cover of Regression and Other Stories book

The cover of Active Statistics book

The cover of Active Statistics book

All three books I've co-authored are freely available online for non-commercial use:

- #Bayesian Data Analysis, 3rd ed (aka BDA3) at stat.columbia.edu/~gelman/book/

- #Regression and Other Stories at avehtari.github.io/ROS-Examples/

- Active Statistics at avehtari.github.io/ActiveStatis...

02.08.2024 13:35 โ€” ๐Ÿ‘ 312    ๐Ÿ” 131    ๐Ÿ’ฌ 6    ๐Ÿ“Œ 4

Interesting! Can you share a link to a version this paper?

03.08.2025 17:56 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Thatโ€™s it Iโ€™m firing R because my results werenโ€™t significant

02.08.2025 00:28 โ€” ๐Ÿ‘ 126    ๐Ÿ” 18    ๐Ÿ’ฌ 7    ๐Ÿ“Œ 3
Raw data when reading a puz file

Raw data when reading a puz file

A crossword, read with {crosswordio} and plotted with {grid} graphcs

A crossword, read with {crosswordio} and plotted with {grid} graphcs

Introducing {crosswordio} - an #RStats pkg to read/write/plot crosswords in "PUZ" format.

https://github.com/coolbutuseless/crosswordio

#RStats

28.07.2025 08:20 โ€” ๐Ÿ‘ 27    ๐Ÿ” 9    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Statistical Transformations | ggplot2 Uncharted ggplot2 layers apply statistical transformations to data before plotting. Customizing these using the stat argument and stat_*() layers enables flexible, advanced visualizations.

#rstats #ggplot Revelation of the day: `geom_*()` and `stat_*()` are wrappers for `layer() ` with respectively a fixed geom or stat argument. Now `stat_*()` suddenly feels less complex. Thank you @cedricscherer.com and @yan-holtz.bsky.social for making www.ggplot2-uncharted.com

23.07.2025 13:48 โ€” ๐Ÿ‘ 9    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Render text in color for Markdown / Quarto | Format refs to packages in inline text Render text in color for Markdown / Quarto | Format refs to packages in inline text - colorize.R

For a book I'm writing I want to print text in colors. #rstats #quarto

This gist: gist.github.com/friendly/b2a... defines a colorize() function that can be used easily for HTML and LaTeX/PDF documents in .qmd and .rmd files.

20.07.2025 17:34 โ€” ๐Ÿ‘ 17    ๐Ÿ” 5    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 1
Two figures approach the Baggage Reclaim area of an airport. 

One says โ€œWe wouldn't need to put things in the hold if you brought fewer books on holiday.โ€

Arriving on the carousel, amongst the bags and suitcases is a very large, well-stocked bookcase.

Two figures approach the Baggage Reclaim area of an airport. One says โ€œWe wouldn't need to put things in the hold if you brought fewer books on holiday.โ€ Arriving on the carousel, amongst the bags and suitcases is a very large, well-stocked bookcase.

My cartoon for this weekโ€™s @theguardian.com books.

20.07.2025 10:07 โ€” ๐Ÿ‘ 946    ๐Ÿ” 248    ๐Ÿ’ฌ 15    ๐Ÿ“Œ 45
Preview
Conference โ€“ rainbowR Join our conference organising committee! See our conference page for more info.

๐ŸŒˆ ๐ŸŒ rainbowR conference: online, early 2026 ๐ŸŒ ๐ŸŒˆ

Are you LGBTQIA+, do you code in R, and would you like to get involved in rainbowRโ€™s first-ever conference? We are looking for people to join our conference organising committee!

โžก๏ธ rainbowr.org/conference
๐Ÿ—“๏ธ 1st meeting: July 9, 4pm UTC

07.07.2025 16:12 โ€” ๐Ÿ‘ 29    ๐Ÿ” 18    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 3
A browser screenshot showing the linkate extension demo page rendered in HTML. The page displays the linkate hexagonal logo on the left sidebar and demonstrates different types of links (Basic Links, Reference-Style Links, Mixed Link Types) in the main content area. At the bottom, a "Links" section shows a bulleted list containing all URLs automatically collected from throughout the document, including links to Quarto, GitHub, CRAN, R Project, Python, and other resources.

A browser screenshot showing the linkate extension demo page rendered in HTML. The page displays the linkate hexagonal logo on the left sidebar and demonstrates different types of links (Basic Links, Reference-Style Links, Mixed Link Types) in the main content area. At the bottom, a "Links" section shows a bulleted list containing all URLs automatically collected from throughout the document, including links to Quarto, GitHub, CRAN, R Project, Python, and other resources.

A hexagonal logo for the "linkate" extension featuring a dark blue background with white text reading "linkate" at the bottom. The center displays an abstract network design with interconnected oval shapes in orange and red gradients connected by thin lines, representing linked elements converging around a central hub.

A hexagonal logo for the "linkate" extension featuring a dark blue background with white text reading "linkate" at the bottom. The center displays an abstract network design with interconnected oval shapes in orange and red gradients connected by thin lines, representing linked elements converging around a central hub.

Scattered links ๐Ÿ”— driving you crazy in a post?

The linkate Quarto extension automatically collects every URL and creates a tidy "Links" section at the bottom. Just add one line to your YAML!

๐Ÿ“š Docs: quarto.thecoatlessprofessor.com/linkate/
๐Ÿ’ป Repo: github.com/coatless-qua...

#quarto

06.07.2025 08:58 โ€” ๐Ÿ‘ 35    ๐Ÿ” 10    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Misschien is het wel of niet leuker dan exploding kittens?

02.07.2025 17:41 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I guess that means you are starting with your most favorite food? It is a bit sad when working on version 20, probably in not a too happy mood since it is version 20 already, that you are also confronted with a name of a not so favorite food. I wish you a lot of really favorite foods & few versionnr

02.07.2025 09:19 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

A big hug for you and your loved ones

30.06.2025 06:18 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Maybe suppressMessages() works?

23.06.2025 18:40 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Een vrouw die ik zeer bewonder zei ooit: toekomstdromen uitspreken vergroot de kans dat ze uitkomen. Nu dan. Ik zou dolgraag maatschappijkritische rijmpjes willen maken voor een kwaliteitskrant. Gerijmde columns, als het ware, zoals bijgevoegd voorbeeld. PS Het was @ionica.mathstodon.xyz.ap.brid.gy

21.06.2025 07:23 โ€” ๐Ÿ‘ 42    ๐Ÿ” 19    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
R-Ladies Amsterdam event flyer for "From Code to Crisis Response: Using R for Real-World Public Health Impact at the CDC" presented by Kelly Charniga, PhD. The event is scheduled for Tuesday, July 1, 2025 from 16:00-17:00 CET. The flyer features the R-Ladies Amsterdam logo with illustrated Dutch buildings and a bicycle, and includes a photo of the smiling presenter wearing a light blue hoodie outdoors with a small dark dog.

R-Ladies Amsterdam event flyer for "From Code to Crisis Response: Using R for Real-World Public Health Impact at the CDC" presented by Kelly Charniga, PhD. The event is scheduled for Tuesday, July 1, 2025 from 16:00-17:00 CET. The flyer features the R-Ladies Amsterdam logo with illustrated Dutch buildings and a bicycle, and includes a photo of the smiling presenter wearing a light blue hoodie outdoors with a small dark dog.

๐Ÿšจ New Event ๐Ÿšจ
From Code to Crisis Response: Using #rstats for Public Health Impact at the CDC w/ @kcharniga.bsky.social

๐Ÿ“… July 1, 2025
โฐ 16:00-17:00 CET
๐Ÿ”— www.meetup.com/rladies-amst...

Join us to learn practical R applications in crisis response and beyond!

#rladies #EpiSky #IDSky @rladies.org

16.06.2025 09:20 โ€” ๐Ÿ‘ 18    ๐Ÿ” 14    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 2

@martinejansen is following 20 prominent accounts