Francis Windram

@franwin.co.uk

Postdoc, Computational ecologist interested in spiderwebs, biological traits, imaging, vector-borne disease and good solid R code. www.franwin.co.uk for more details. he/him. Views my own.

There seems to be evidence, at least from lucid dreams, that the experience is in real time because communication is possible with dreamers (I find this mindblowing). Some report that they hear the signals as coming from objects in the dream (a radio, say). www.sciencedirect.com/science/arti...

Real-time dialogue between experimenters and dreamers during REM sleep

Dreams take us to a different reality, a hallucinatory world that feels as real as any waking experience. These often-bizarre episodes are emblematic …

sciencedirect.com

ohvbd 1.0.0 has now been released on CRAN! This package should help those looking for VBD data by interfacing with vbdhub.org for searching, and the VectorByte trait and population dynamics databases for data download (alongside much more). vbdhub.org/blog/ohvbd-c... #rstats #vectorbyte #vbd

ohvbd 1.0.0 has been released on CRAN! - Blog

Announcing ohvbd v1.0.0 on CRAN: a unified R interface for retrieval and harmonisation of vector-borne disease data.

vbdhub.org

I made a filterlist for uBlock Origin to remove Generative AI features on websites. Includes blocks for * Google AI Summaries * YouTube Ask button & chat summaries * GitHub Copilot * Facebook AI chat * X's Grok buttons * Deviantart DreamUp * Booru AI images * And more github.com/Stevoisiak/S...

Google with AI buttonsGoogle without AI buttons

An #rstats question for package developers: If my package maintains a cache to minimise data downloads, is it sensible/preferred to put an automatic cache cleaner (delete anything older than x days) in .onLoad, or to just mostly leave cache maintenance to the user (with appropriate helpers)?

{ggview} can print plots to Viewer (Rstudio or Positron) with true scaling. Adjust plot settings and see the final proportions immediately. Save the plot once 👌 e.g.: ggplot(...) + ggview::canvas(width = 220, height = 220*2/3, units = "mm", dpi = 300) per @nrennie.bsky.social #datavis #rstats

Ethan Landes@ethanlandes.bsky.social · 8mo ago

Now my favorite part of writing any paper: repeatedly recompiling ggplot graphs to get the text size right #rstats

Things that you as a data scientist can replace the term "artificial intelligence" with in stupid marketing text to stop your brain detonating E.g. "We will use advanced methods such as <BLANK> to track sewage spills." - Basic regression models - Interns - The CEO's best guess - An actual fish ...

I feel genuinely ashamed that this wooooshed me for a full two minutes before I realised they weren't serious. I need more coffee before reading exceptionally funny posts :)

Ben Harrap@bharrap.bsky.social · last yr.

Introducing my new #rstats package {kitchensink} Not sure what the right model to fit is? Should you allow random intercepts, slopes, both? What do Bayesian methods say? Just call {kitchensink::throw} to fit every possible model and see how your results differ!

Right, with the advent of the recent government whitepaper "Restoring Control Over the Immigration System" (which already has some pretty loaded language in the title), it's worthwhile looking a bit at some of the detail of the student section. It's some "interesting" statistics presentation.

The report released today by the Tony Blair institute is one of the most cynical, least scientific, and most poorly-written reports I have ever seen about climate change. I'm not exactly surprised that there is no climate scientist willing to put their name on it anywhere, but I am disappointed.

#Tidyverse Tip: If you find yourself writing the same mutation (i.e., #dplyr::mutate()) for several columns, there’s a better way! dplyr::across() allows you to apply a function to multiple columns easily. For example, to scale all numeric columns: df %>% mutate(across(where(is.numeric), scale))

Why I love OneDrive, part 78. My local folder is called /Users/koren/OneDrive\ -\ Central\ European\ University\ \(CEU\ GmbH\ Hungarian\ Branch\ Office\)/ Luckily, I can symlink.

This is the real and proper solution to the previous problem I posted, and today I was reminded why reading the documentation regularly is very very important, even when you think you know it. Now if you'll excuse me I have some package error handling to rework.

Hadley Wickham@hadley.nz · last yr.

If you’re wrapping errors, you’re better off using withCallingHandler to avoid this problem in the first place. I also recommend that you pass along the error condition to the parent arg of cli_abort and friends

If you're catching errors in #rstats and stopping using tryCatch and cli_abort (or rlang::abort), you may encounter something like this "Error in `value[[3L]]()`". This isn't helpful for finding where something went wrong, you don't know what actually threw the error. But there's an easy fix!

Bild