Tyson Barrett

@healthandstats.bsky.social

Husband | Father | Manager Advanced Analytics | PhD | Research Scientist | Meditator | he/him | #rstats #rdatatable #openscience 🏳️‍🌈 🧗‍♂️ tysonbarrett.com

Latest version of Positron can open xlsx files in the data viewer(!) and it has a dropdown menu now for previewing different formats of #QuartoPub documents And—most importantly, but also from a few weeks ago, so less new—the plots panel can pick up dimensions from chunk options!!!! #rstats

An excel file of R's penguins data loaded into the data viewer in PositronA "Preview Format…" dropdown menuA screenshot of an image set to be 5x3 in the Quarto chunk options, automatically displaying as 5x3 in the plot panel

“Dolly Parton Children’s Hospital did not share how much Parton donated as part of the naming announcement. But Matt Schaefer, its president and CEO, said her support would ensure ‘every child who walks through our doors receives the treatment they deserve.’” GOD BLESS DOLLY PARTON

A children's hospital is renamed for Dolly Parton and hopes to transform pediatric care in Tennessee

Dolly Parton’s name might inspire full-throated sing-a-longs to her working woman’s anthem “9 to 5,” or evoke memories of thrilling days spent at her Dollywood theme park.

telegraphherald.com

In my time at Princeton, we've had several Army officers in our doctoral program. They've all done excellent work. When this former Princeton undergrad says we're actually teaching them "the enemy's wicked ideology" I have no idea what the hell he's talking about but, of course, neither does he.

David Burbach 🇺🇸@dburbach.bsky.social · 6mo ago

Secretary Hegseth announced this afternoon that DOD will cease ALL graduate study by military personnel at universities including MIT, all the Ivies, Stanford, etc because such schools teach "the enemy's wicked ideology" to officers. thehill.com/policy/defen...

The federal government is executing American citizens in the middle of the street for exercising their constitutional right to freedom of speech. This is tyranny. No free people can accept this kind of government. We need to bring an end to the Trump regime.

Question: But the president’s statements that he believed the election was rife with fraud—those are statements protected by the First Amendment, correct? Smith: Absolutely not. If they are made to target a lawful government function and are made with knowing falsity, then no, they are not.

I don't know how I've missed it because it's *right on the documentation home page*, but if you use {glue} for nice string interpolation in #rstats and you have {stringr} loaded (likely through the tidyverse), you can use str_glue() instead of glue::glue() or loading library(glue) glue.tidyverse.org

Geordi LaForge rejecting this code

library(tidyverse)

penguins |>
  mutate(
    nice = glue::glue(
      "{species} on {island} Island ({body_mass} g)"
    )
  ) |>
  select(nice)
#>                                    nice
#> 1   Adelie on Torgersen Island (3750 g)
#> 2   Adelie on Torgersen Island (3800 g)
#> 3   Adelie on Torgersen Island (3250 g)


Geordi LaForge approving this code

library(tidyverse)

penguins |>
  mutate(
    nice = str_glue(
      "{species} on {island} Island ({body_mass} g)"
    )
  ) |>
  select(nice)
#>                                    nice
#> 1   Adelie on Torgersen Island (3750 g)
#> 2   Adelie on Torgersen Island (3800 g)
#> 3   Adelie on Torgersen Island (3250 g)