The Gmisc R package's flowchart() function has been improved to support reproducible, code-generated research diagrams such as CONSORT charts, cohort derivation flows, data validation pipelines, and longitudinal follow-up diagrams. Unlike drawing tools, these flowcharts live inside the analysis pipeline — counts update automatically, exclusions stay in sync with the analysis script, and figures survive multiple reviewer rounds without manual editing. The post walks through several practical examples with full R code, covering grouped treatment arms, side exclusion branches, dotted return arrows for censored participants, and custom box shapes for data engineering workflows. The update targets Gmisc 3.4.0.
Nguồn: https://www.r-bloggers.com/2026/06/flowcharts-that-belong-in-the-analysis-pipeline. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.

A new stick function (Seasonal, Trend, Irregular Contribution Kit) has been added to the greybox package for both R and Python. Based on Hans Levenbach's STI classification, it uses ANOVA to quantify the strength of seasonal, trend, and irregular components in a time series. Applied to the classic AirPassengers dataset, it reveals that trend accounts for ~86% of variability. The function supports multiple seasonal components and may be extended to include external regressors in the future.
Daniel Stenberg, curl's creator, shares a visualization called 'the mountain' that tracks known vulnerabilities in curl across its entire history from 1998 to 2026. He created a script that renders the vulnerability chart for every month since curl's inception, producing a movie showing how the vulnerability count grew over time. Currently, curl 7.34.0 holds the record with 101 known vulnerabilities. The post also explores a notable drop in vulnerabilities around 2016 following a Cure53 security audit, though the exact cause remains unclear. The data is sourced from curl's vulnerability database and git history, with images assembled into a video using ffmpeg.
A comprehensive side-by-side comparison of Exploratory Factor Analysis (EFA) and Confirmatory Factor Analysis (CFA) with full R code examples. EFA uses the psych package to discover unknown factor structures from data, while CFA uses lavaan to test pre-specified models. Covers when to use each method, assumptions, sample size requirements, model fit indices (CFI, TLI, RMSEA, SRMR) with accepted thresholds, common mistakes to avoid, and how to correctly sequence both methods in dissertation research using independent samples.

A paid workshop announcement covering Bayesian Multiple Imputation using the rblimp package in R, part of the Workshops for Ukraine series. The session will cover multiple imputation basics, Blimp's modeling framework, imputation model specification, auxiliary variables, convergence diagnostics, and pooled analyses. Suitable for both newcomers and those familiar with tools like mice who want to explore a Bayesian alternative. Registration requires a minimum 20 euro donation to Ukrainian aid organizations.

A guide on how to set the working directory in R using the setwd() function or the RStudio Session menu GUI. Covers getwd() for checking the current directory, handling Windows path errors, and using the here() package for more robust project-relative paths, particularly useful for dissertation projects.
A tutorial showing how to visualize monthly temperature anomalies for French cities using MétéoFrance's SIM2 dataset (1970–2025). The workflow uses R packages including {terra} for raster grid creation, {osmdata} for geocoding via Nominatim, and {ggplot2} for plotting. The code retrieves an 8 km resolution grid, extracts temperatures at a given location, computes anomalies relative to the 1991–2020 baseline, and renders bar charts with a LOESS trend line. Full code is provided for generating per-month charts for any geocodable city.