A new function in the misc package allows you to perform conformal prediction with any R machine learning model. Conformal prediction improves prediction intervals' coverage rate thanks to held-out set cross-validation errors.
In recent posts, I introduced a Bayesian approach to proportional hazards modeling and then extended it to incorporate a penalized spline. (There was also a third post on handling ties when multiple individuals share the same event time.) This post ...
How can learning the cor function in r transform your data analysis workflow into a precise, insightful, reproducible process that measures relationships between variables and drives actionable insights in research and business?
It allows you to eff...
The generic seal of approval from the CRAN team – countless hours spent tabbing between R CMD check and R CMD build logs, ‘Writing R Extensions’ and Stackoverflow approved, with a single line. The equivalent of “Noted, thanks” after a painstakingly well-written e-mail to your professor – except, this has an amazing ... [Read more...]
ShinyConf 2025 is almost here, and we’re excited to bring the community together again. As the organizers, we’ve put together a lineup of talks and workshops that focus on making Shiny apps faster, easier to use, and more scalable. Don’t miss out on ShinyConf 2025! Register now and join ...
The NumFOCUS Diversity & Inclusion in Scientific Computing (“DISC”) Unconf took place as a hybrid event in São Paulo, Brazil, from March 14 to 16, 2025.
Our community manager, Yanina Bellini Saibene, and rOpenSci Champions, Andrea Gomez Vargas and... [Read more...]
🙈 Made a hilariously redundant R package for a simple OpenAI calls, but the real win was finally learning how to build an R package! 🛠️ Is it efficient? Absolutely not!Was it worth the time and experience? Yes! Will I do it again? Yes! Will it break? ...
rOpenSci’s activities and spaces are supported by a Code of Conduct
that applies to all people participating in the rOpenSci community,
including rOpenSci staff and leadership.
It applies to all modes of interaction including GitHub project repositori... [Read more...]
The Problem
You have a 2x2 grid of squares, and you need to paint each square one of four colors: red, blue, green, or yellow. The restriction is that no two adjacent squares (sharing a side) can have the same color. How many valid ways you ca...
Recent versions of NIMBLE now include the ability to use macros in models. NIMBLE is a system for building and sharing analysis methods for statistical models, especially for hierarchical models and computationally-intensive methods (such as MCMC, Laplace approximation, and SMC). A NIMBLE macro is a succinct syntax that expands to ...
As I’ve already discussed in this vignette of my {rix} package, it is very easy to run a {targets} pipeline inside of a Nix environment for increased reproduciblity. The main drawback of {targets} though, is that it is not possible to comp...
Handling reported incidents related to a Code of Conduct (CoC) is a complex and delicate task. Managing reports timely and with care is crucial for maintaining a healthy and inclusive community.
To assist with this process we’ve developed a template, ... [Read more...]
Over my past few posts, I’ve been progressively building towards a Bayesian model for a stepped-wedge cluster randomized trial with a time-to-event outcome, where time will be modeled using a spline function. I started with a simple Cox proportional...
The pharmaceutical industry develops life-saving drugs while maintaining strict quality standards. Regulatory requirements ensure safety and compliance but can slow process changes due to extensive documentation and resource demands. GxP compliance can be complex, but we’ve got you covered. Learn how to navigate regulations in the pharmaceutical industry. Quality ...
Have you ever wanted access to __yfinance__ data in an Excel spreadsheet? If so, this two-part blog may be of interest. It describes an approach using a Flask API to access __yfinance__ data and the Power Query queries required to consume the data in Excel.
Have you ever wanted access to __yfinance__ data in an Excel spreadsheet? If so, this two-part blog may be of interest. It describes an approach using a Flask API to access __yfinance__ data and the Power Query queries required to consume the data in Excel.
Online probabilistic estimation of carbon beta and carbon Shapley values for financial and climate risk at the 18th FINANCIAL RISKS INTERNATIONAL FORUM -- Institut Louis Bachelier/Fondation du Risque/Europlace Institute of Finance
How to get your LLM model to run and interpret R code
Tools let AI models run code and access other applications. This can be
a tool on your computer (like an R function), or access and API.
By creating tools you can give your LLM access to databases... [Read more...]
Tools let AI models run code and access other applications. This can be a tool on your computer (like an R function), or access and API.
By creating tools you can give your LLM access to databases online (via their APIs) or let them run code on ... [Read more...]
How do we identify relevant articles in our domains? This project uses example journal RSS feeds with abstracts, uses LLMs to extract points of interest, and shares insights on Bluesky—stimulating curiosity.
Motivations
There are countless excellent articles published daily, but how do we identify which ones are relevant to ...