Good shout! In case somebody comes looking for it, Nixtla's got one: github.com/Nixtla/fpp3-...
17.12.2024 19:12 β π 1 π 0 π¬ 0 π 0@booolio.bsky.social
Data carpenter / carpinteiro de dados Climate & energy nerd Cat dad
Good shout! In case somebody comes looking for it, Nixtla's got one: github.com/Nixtla/fpp3-...
17.12.2024 19:12 β π 1 π 0 π¬ 0 π 0π
15.12.2024 19:39 β π 0 π 0 π¬ 0 π 0YMMV, but I am a faithful of the tidytable package for expressing things in a tidyverse style with data.table under the hood. Perhaps not all that different from the dtplyr suggestion here
markfairbanks.github.io/tidytable/
A scatterplot of the gapminder dataset, showing GDP per capita on the x-axis and life expectancy on the y-axis. The points are sized by population, which has a legend with overlapping circles.
A correlation heatmap of the mtcars dataset. Car names on the left are decorated with a dendrogram. The bottom cells also have a dendrogram, whereas the labels are on the top.
Hi folks! I know it is the weekend, but I'd like to quickly announance an update to {legendry} version 0.2.0:
teunbrand.github.io/teunbrand_bl...
#rstats #ggplot2
For all the folks at the crossroads of Excel & DuckDB, this just went open source
09.12.2024 02:57 β π 70 π 13 π¬ 4 π 2#rstats #quarto
Do you want to use different versions of a figure for HTML, PDF for online vs. print, perhaps an animated GIF for the former, but a static image for the latter?
Here's a discussion of this and solutions,
github.com/quarto-dev/q...
anybody got cheat codes for finding #rstats jobs they're willing to share?
05.12.2024 20:52 β π 0 π 0 π¬ 0 π 0s/o to @acastroaraujo.bsky.social for sharing a recursive fn, which I really liked
bsky.app/profile/acas...
Code in R solving Advent of Code day 5 part 1
Day 5 of #AdventofCode went smoother for me than yesterday, but I struggled with part 2 until learning from others' solutions
05.12.2024 18:25 β π 2 π 0 π¬ 1 π 0deep dive? omw
04.12.2024 17:13 β π 1 π 0 π¬ 1 π 0Learning just how rusty I am with matrices today.... #AdventofCode #rstats
04.12.2024 16:34 β π 5 π 0 π¬ 0 π 0R-Ladies Philly π is thrilled to have @zabore.bsky.social β¨ present "An Introduction to Survival Analysis in R" on Tues, Dec 17. We hope you can join us! π€ https://buff.ly/3OAUxhZ #rstats #rladies
03.12.2024 20:01 β π 32 π 11 π¬ 0 π 0why the calc_muls function? π€·
03.12.2024 19:49 β π 0 π 0 π¬ 0 π 0Excited and grateful that R-Universe is R Consortium's newest top-level project! This means sustained support for @rOpenSci.hachyderm.io.ap.brid.gy's platform for discovery and publishing of #rstats packages. Hats off to @jeroenooms.bsky.social for his leadership!
ropensci.org/blog/2024/12...
Code in R answering day 3 of advent of code
Day 2 of #AdventofCode stumped me for a while, but thankfully I was able to troubleshoot with others' solutions on here.
Moving right along, here's my attempt at day 3 #rstats
posted about it here: jdnricardo.com/posts/advent...
03.12.2024 03:39 β π 0 π 0 π¬ 0 π 0posted about it here: jdnricardo.com/posts/advent...
03.12.2024 03:39 β π 0 π 0 π¬ 0 π 0Code in R to answer day 1 part 2 of the Advent of Code
I used the collapse package to get my answer for day 1, part 2 #rstats #AdventofCode
03.12.2024 00:11 β π 5 π 1 π¬ 2 π 0I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/1
03.12.2024 00:06 β π 2 π 0 π¬ 1 π 0Code in R to answer Day 1 of the Advent of Code 2024
Catching up on Advent of Code with my day 1 solution #rstats
02.12.2024 21:20 β π 3 π 0 π¬ 1 π 0Screenshot of the following code arc_read <- function( url, col_names = TRUE, col_select = NULL, n_max = Inf, name_repair = "unique", crs = NULL, ..., fields = NULL, alias = c("drop", "label", "replace"), token = arc_token() ) { # argument validation check_string(url, allow_empty = FALSE) check_string(alias, allow_empty = FALSE) check_character(fields, allow_null = TRUE) check_character(col_select, allow_null = TRUE) is_valid_col_names_arg <- rlang::is_logical(col_names, 1) || rlang::is_null(col_names) || rlang::is_character(col_names) if (!is_valid_col_names_arg) { cli::cli_abort( "{.arg col_names} must be one of {.val TRUE}, {.val FALSE},\\ {.val NULL}, or a character vector of the new column names" ) } if (!rlang::is_integerish(n_max, 1)) { cli::cli_abort("{.arg n_max} must be a scalar integer.") }
I now dedicate the first 20+ lines of my user facing functions to argument validation.
I cannot emphasize how helpful this is for preventing bugs.
Read about r-lib standalone check: josiahparry.com/posts/2024-0...
#rstats
giving this a try, but pal keeps prompting me for an anthropic API key after I save a fake one to my .Renviron. did you run into this too?
24.11.2024 14:17 β π 0 π 0 π¬ 1 π 0Screenshot of a y-axis of a graph showing that large dollar amounts are shown in human friendly units, like five hundred million dollars and one billion dollars
just remembered this scales R package function that quickly makes your large dollar amounts into human friendly units, and it takes care of those changing units from say millions to billions #RStats
scales::label_dollar(scale_cut = cut_short_scale()
reference: scales.r-lib.org/reference/la...
Yessssssss! I took the plunge a few months ago and found @albertrapp.bsky.social's guide very helpful. a couple years old now so maybe cross-check with another resource? albert-rapp.de/posts/13_qua...
22.11.2024 16:09 β π 2 π 1 π¬ 0 π 0Book cover of the book 'Exploring complex survey data analysis using R', showing a light blue background with a hand-drawn map showing mountains, houses, roads and the sea.
To celebrate this gem of a book by @statsteph.bsky.social, @ivelasq3.bsky.social and Rebecca Powell on complex survey data with #RStats and the #tidyverse, we are giving away one copy to a lucky winner. To enter, re-post this and follow me by Nov 24. Not affiliated with bsky.
21.11.2024 09:09 β π 111 π 87 π¬ 2 π 4"render_snapshot" works just fine, but when I render the above using "render_highquality", I get all those artifacts π€·
22.11.2024 14:23 β π 0 π 0 π¬ 1 π 0Rendered image of forest cover in Portugal, with artifacts from the rendering where there should be negative space
anybody handy with #rstats or #rayshader able to diagnose what's going on here? looks cool but...
22.11.2024 14:22 β π 0 π 0 π¬ 1 π 0The brand new `legendry` package by @teunbrand.bsky.social takes ggplots2 guides to the next level π€©
teunbrand.github.io/teunbrand_bl...