The spatial kinetic Ising model is a simple model of spatial patterns that can be used to simulate the evolution of spatial patterns over time. Its two main parameters are B and J, which control the external pressure and the local autocorrelatio...
The spatial kinetic Ising model is a simple model of spatial patterns that can be used to simulate the evolution of spatial patterns over time. Its two main parameters are B and J, which control the external pressure and the local autocorrelation...
In this blog post, I’ll show you how to make ggplot2 even better. To do so, we are going to look at five must-have extensions that can level up your dataviz game. This blog post is also available as a video on my YouTube channel. You can check i...
Join our workshop on Factor Analysis in R, which is a part of our workshops for Ukraine series! Here’s some more info: Title: Factor Analysis in R Date: Thursday, February 1st, 18:00 – 20:00 CET (Rome, Berlin, Paris timezone) Speaker: Gagan Atreya is a quantitative social scientist and data science consultant based ... [Read more...]
I’ve said in several places that all my blog posts are fully executable code. I’ve provided a concise summary of how to access the code on my landing page, but I thought these instructions weren’t detailed enough for a novice user. This post will ...
Introduction
Ever felt those data points were a bit too jittery? Smoothing out trends and revealing underlying patterns is a breeze with rolling averages in R. Ready to roll? Let’s dive in!
Rolling with the ‘zoo’
Meet the ‘zoo’ package, your t...
Probability intervals with GAMs
A neat trick with GAMs (generalized additive models) fit using the
mgcv package is that you can use simulation to get Bayesian credible
intervals. This is handy because it means you can easily calculate
probabilities fo... [Read more...]
Hello, Data Enthusiasts! Are you ready to take your data visualization skills to the next level in the fascinating world of survival analysis? We’re thrilled to invite you to our...
The post Harness the Power of R for Survival Analysis: Join Our {ggsurvfit} Webinar! appeared first on R Consortium.
Novo Nordisk stands as a trailblazer in R-based submissions to the FDA, having recently completed the inaugural submission in this statistical programming language to regulatory authorities. This milestone was achieved at the close of 2021, encompassing the inclusion of SDTM (Study Data Tabulation Model) and ADaM (Analysis Data Model) datasets, programs, ...
The Art of Data ExplorationIn the world of data analysis, every dataset is a trove of untold secrets waiting to be unearthed. These data-driven revelations can hold the key to informed decision-making, scientific discoveries, and a deeper understanding...
Introduction
As we close the door on another year, it’s always a good time to look back and reflect on the past 12 months. And what better way to do that than with a LinkedIn Year in Review?
Whether you’re a job seeker, a business owner, or just...
admiral 1.0.0 is out on CRAN. This release brings several new features to your tool set for working with ADaMs in R. admiral 1.0.0 also brings needed stability to users who were wishing to adopt admiral, but were a little worried by the fast d...
2023 Was a Big Year
This was a big year for open-source work in clinical submissions in general. We saw Roche speak about shifting to an open-source backbone for clinical trials. Novo Nordisk spoke publicly of an R based submission to the FDA... [Read more...]
The function below generates a Shiny dropdown list including some icons.
library(shiny)
library(fontawesome)
library(htmltools)
selectInputWithIcons [Read more...]
Getting cryptocurrency OHLCV data in R without having to depend on low-level coding using, for example, curl or httr2, have not been easy for the R community. There is now a high-level API Client available on CRAN which fetches all the market data without having to rely on web-scrapers, API ... [Read more...]
In this post I’m using a small extract from the SIMD2020 dataset to figure out what the special operator .I does.
Files and code are on github if you’re interested
# files and code : https://github.com/johnmackintosh/DT_dot_I
library(data.t... [Read more...]
In the US we think of Minneapolis and St. Paul as the Twin Cities, but Ben Olin, author of Math with Bad Drawings, https://mathwithbaddrawings.com/, posed this data science question: Which U.S. cities are the true twin cities? He imposed three c...
#143–144PuzzlesAuthor: ExcelBIFrom this week all files (xlsx with puzzle and R with solution) for each and every puzzle are available on my Github. Enjoy.Suprisingly this week we have no time-related puzzles, they are rather transformations of tables.Puzzle #143In this puzzle we have some kind of log. Employees are ...