If you work in pharma, you know how much time and money go into drug development. The last thing you want is a painful FDA rejection, one that not only costs your company millions but also delays critical treatments for patients who need them. Regulatory rejections can happen for many ...
Introduction
An important aspect of writing an R-script or an R-package is ensuring reproducibility and
maintainability of the developed code, not only for others, but also for our future selves. The
modern R ecosystem provides various tools and packa...
Collecting data can be a drudge for many tasks in economics or securities analysis. Fortunately, R has some good options available to streamline this task. Popular R Packages for Stock Data quantmod:The quantmod package is a favorite among financial analysts.It provides functions for quantitative financial modeling, including the ... [Read more...]
There’s an R package for this… right?
How it started
My journey in creating my first R package all started when I received an email from a colleague who was working with archived soil samples that were collected prior to the advent of G... [Read more...]
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.