Fully-funded PhD post in the UCL Division of Psychiatry with Prof. James Kirkbride and @jendykxhoorn
β¨ Examining the causes of health and social inequalities in psychiatric disorders
Apply now! http://findaphd.com/phds/projectdetails.aspx?PJID=154998 #PhDChat #Epidemiology #EpiVerse #CausalInference #DataScience
Post 3/4 for dplyr 1.1.0 is out! #rstats π
Today, we'll look at how the vctrs π¦ has upgraded dplyr's vector functions, like `case_when()` and `between()`.
We'll also look at two powerful new helpers: `case_match()` and `consecutive_id()`!
So we (GitHub) just rolled out support for Mastodon profiles.
Thanks @derekprior for helping us!
forcats 1.0.0 out now! https://www.tidyverse.org/blog/2023/01/forcats-1-0-0/. This release is mostly about announcing that forcats is definitely stable, but it includes some new functions for handling NAs in levels vs NAs values #rstats
Se sei un giocatore del monza, come torni a casa dalla tua fidanzata/moglie, stasera?
Shame that such a competent and upright, honest politician has been sacked for clearly and beyond doubt evading millions in taxes (while also being chancellor), lying about it and, fundamentally, not giving a shit about people. I only hope there's a reality show coming up so he can quickly bounce back.
Sorry to link to the bird site --- hopefully it'll be worth it... π π
@ucl wants people to use Outlook(365), by default. They don't support many other clients.
I happen to *really* dislike it. Was using Gmail, but Microsoft/Google keep fighting and I can't any more, as Gmail doesn't support 2FA.
Then switched to Spikenow - which is cool, but *very* flaky. Not sure whether it's them or MS that doesn't make it easy for them... Emails stopped syncing in Spikenow, so full on Outlook365 since yesterday.
I am not enjoying this. π π‘
END OF RANT
Already 10 registrations for our summer school! Keep it coming people! It's going to be fun...
I'm a long way away from dynamic programming in #Rstats, but learning how to escape variable names in functions is a step. In this simple function for obtaining summary statistics for Likert items, the double curly braces escape the variable name and allow you to reference a variable in a dataframe.
t_Likert = function(df,var) {
df |>
select({{var}}) |>
drop_na() |>
group_by({{var}}) |>
summarise(Freq = n()) |>
mutate(Pct = round(Freq/sum(Freq),2))
}
Some days, being HoD sucks and you have to do horrible things (which I hate to do). Some others days, like today, you get to do things and it looks like you have an amazing plan all along and everything comes through and you make things that are potentially good for a lot of colleagues. Bring more like today and **much fewer** like last week!
This weekβs episode of our Sample Space podcast features our very own @soo_terry
in conversation with Tim Swartz from @SFU
βStatistics and Sports Analytics - Part 1β by @ucl
is on #SoundCloud https://on.soundcloud.com/5XdYs