Leonardo Hansa
leonardohansa.com
Leonardo Hansa
@leonardohansa.com
I love chocolate and opera, but it's too expensive so I only watch it on YouTube.
#stats #RStats
While attending online meetings, today I'm listening to Marin Marais by Brandon Acker and Craig Trompeter in the background.

It's the only thing worth it in today's meetings.
May 19, 2025 at 10:48 AM
On our next podcast episode, @joscani.muestrear-no-es-pecado.es and I talk about how to correct your model's optimism using bootstrap.

You train your model on each sample and compare its fitness metric against the original sample. The average of differences is your correction.

Soon on Spotify
March 30, 2025 at 8:24 PM
Have you ever done a bootstrap plot?

I don't know if it's valid, or even useful, but I just have. Just for fun.

Sepal Length bootstrap density #rstats #dataviz
March 30, 2025 at 7:18 PM
For quick tests these days I'm using R GUI.

I've just realised one of the most accessible buttons is the `Print` button.

Who on Earth (and when) could be interested on printing a script? #rstats #20thCentury
March 18, 2025 at 4:32 PM
Is this a barplot? Where all bars have the same length and you need to read the labels and quantify their difference with your imagination?

Source: Lego . com #dataviz
February 28, 2025 at 12:05 PM
Advise requested -I haven't yet used #NotebookLM. Somehow I find it a super powerful tool, though I haven't still figured out what for 😅

Any use case you're willing to share and you consider inspiring? 🙏
December 15, 2024 at 5:40 PM
I can't get used to indicating the percentage of a percentile as a percentage...

Yeah, I know the sentence makes no sense, but I've always used proportions, a number from 0 to 1, not 0 to 100.

Creating confidence intervals with 2.5 and 97.5 instead of 0.025 and 0.0975 seems like cheating. #stats
December 6, 2024 at 10:12 AM
Fiddling around with #aRtsy

library(aRtsy)
set.seed(6)
canvas_slime(colors = colorPalette("vrolik4"))
December 4, 2024 at 1:23 PM
Loving the #aRtsy project for creating beautiful random images with #rstats

github.com/koenderks/aR...
December 4, 2024 at 12:11 PM
During my first steps with #rstats, @posit.co's cheatsheets helped me out a lot easing the learning process.

One of the (many) things I still struggle with on #Python is #dataviz, because of my love towards #ggplot2.

Perhaps the matplotlib cheatsheets can be the key
matplotlib.org/cheatsheets/
November 28, 2024 at 2:01 PM
Great tutorial by @albertrapp.bsky.social on #ggplot2 and some more #rstats extensions on how to do the plot on the image.

Very well guided and lots of tiny tips on how to improve your #dataviz

www.youtube.com/watch?v=e0_C...
November 20, 2024 at 4:14 PM
I didn't know you could assign a class to an error in #rstats, using the rlang package.

This allows you managing your tryCatch based on different error classes.

PS. Yeah, I guess for #Python users this is like an obvious thing.
November 20, 2024 at 10:58 AM
I'm starting to apply cli #rstats package after @hfrick.bsky.social's talk at Spanish R Conf.

Question on best practices: which is the best approach to stopping execution and sending nice messages via cli?

Should I use `cli::cli_alert_danger()` and then `stop()`?
November 20, 2024 at 10:46 AM
I'm loving the officer #rstats package. Yeah, I know, Quarto slides blah blah...

Look, sometimes (not often fortunately) I'm asked to do a PowerPoint.

The officeverse is the way.
ardata-fr.github.io/officeverse/
November 18, 2024 at 2:13 PM
Last week, my teammate Paula and I presenting our 'Confession: we develop software in R and Excel', our talk at the Spanish R Conference.

Slides (in Spanish):
ebiquityds.github.io/CongresoRSev...

#rstats #Excel
November 14, 2024 at 2:26 PM
Last week, 14th Spanish R Conference.

14 years of #rstats gatherings, 2 days of talks and workshops.

Inspiring. Awesome.

Thanks a lot to the organizers!
November 11, 2024 at 3:38 PM
People seem to take a break from statistics on Google while Christmas
October 25, 2024 at 4:53 PM