There are 2 types of people...
The "takes photos" person and the "always in photos" person.
And the two usually marry each other.
Posts by zx8754
Strong urge to drop everything and try to recreate this in #rstats Anyone else? #challenge
Posted data.table version, not very familiar with dplyr.
🤖
I am enthusiastic about my job
Got the same result but with green frame *high-five* ✋
27 Club enters chat
be honest you love it.
library(crayon) cat(blue("*********************\n") %+% blue("*") %+% red(" Happy") %+% green(" Holidays") %+% red("!!! ") %+% blue("*\n") %+% blue("*********************\n"))
Mine is obsessed with Bershka.
Is it just a wrapper for match?
`%notin%` <- function(x, table) match(x, table, nomatch = 0L) == 0L
`%in%` <- function(x, table) match(x, table, nomatch = 0L) > 0L
https://yougov.co.uk/politics/articles/15796-how-britain-voted Age is the other great fault line. Under-25s were more than twice as likely to vote Remain (71%) than Leave (29%). Among over-65s the picture is almost the exact opposite, as 64% of over-65s voted to Leave while only 36% voted to Remain. Among the other age groups, voters aged 24 to 49 narrowly opted for Remain (54%) over leave (46%) while 60% of voters between the ages of 50 and 64 went for Leave.
Highlight of this chart for me is the Dead ones. Leavers are old, old are usually conservative, old usually die.
Stack Overflow has slowed down since AI, but every so often I still come across a brilliant gem of an answer you can learn a lot from.
listogram plot - Histogram of three-letter words, with the words themselves shown on the plot.
#rstats plot of the day - "Listogram" by r2evans
stackoverflow.com/a/79808261/6...
quote from the linked post: "my default assumption is nothing is going to work" https://blog.genesmindsmachines.com/p/we-still-cant-predict-much-of-anything
"my default assumption is nothing is going to work" - @clauswilke.com
"if" only handles scalars, "ifelse" handles vectors. If condition is longer than 1, comparing them doesn't make sense, right?
as.integer(condition)
set.seed((\(x) sum(x %% 10) + length(x))(as.integer(charToRaw("Forty-two"))))
#rstats
Men with BRCA1 and BRCA2 mutations should get annual #ProstateCancer screening.
The IMPACT trial finds BRCA1 carriers are 3 times more likely to have aggressive prostate cancers than non-carriers.
Results from the international trial shared at @myesmo.bsky.social
www.icr.ac.uk/about-us/icr...
#rstats easier to compare the ratios
It had been gradually declining by about 5 million before the war, then dropped by another 5 million between 2022 and 2025.
Looks like it is real - www.adsoftheworld.com/campaigns/st...
I understand the awareness function, but I'd rather see humped crossings or traffic calming measures before the crossings. The issue isn't visibility, it's the driving culture of ignoring them that needs to change.
one day I will never master these
"Hence, in the R Core meetings in Toulouse in 2019, it was decided to move towards using stringsAsFactors = FALSE by default, ideally starting with the 4.0.0 release."
Blame these guys 🤪
blog.r-project.org/2020/02/16/s...
Screenshot of the answer at: https://unix.stackexchange.com/a/153662/16560
Ah, thought it was a hidden joke from devs, but it isn't
unix.stackexchange.com/a/153662/16560
I use Google as calculator, too. But recently discovered that the iPhone Notes app does the same:
Create a data.table row-wise Aliases: rowwiseDT Keywords: ### ** Examples rowwiseDT( A=,B=, C=, 1, "a",2:3, 2, "b",list(5) ) A B C <num> <char> <list> 1: 1 a 2,3 2: 2 b 5
You can define a tibble row-by-row with tribble(): tribble( ~x, ~y, ~z, "a", 2, 3.6, "b", 1, 8.5 ) #> # A tibble: 2 × 3 #> x y z #> <chr> <dbl> <dbl> #> 1 a 2 3.6 #> 2 b 1 8.5
#rstats #TIL I knew about tibble::tribble, but just discovered data.table::rowwiseDT.
"creates a data.table object by specifying a row-by-row layout. This is convenient and highly readable for small tables."