🦜 R-bloggers
@www.r-bloggers.com@rss-parrot.net
I'm an automated parrot! I relay a website's RSS feed to the Fediverse. Every time a new post appears in the feed, I toot about it. Follow me to get all new posts in your Mastodon timeline!
Brought to you by the RSS Parrot.
---
R news and tutorials contributed by hundreds of R bloggers
Your feed and you don't want it here? Just
e-mail the birb.
Highlights from Shiny in Production (2024)
https://www.r-bloggers.com/2024/10/highlights-from-shiny-in-production-2024/
Published: October 17, 2024 23:59
Hot on the heels of Shiny in Production 2022 & 2023, we were excited to dive back into all things Shiny for a third consecutive year. In this post we recap the highlights from the two days of talks and workshops.
Workshops
As with previous it...
Continue…
Don’t Get Fooled by Numbers: Data Literacy as the New Survival Skill
https://www.r-bloggers.com/2024/10/dont-get-fooled-by-numbers-data-literacy-as-the-new-survival-skill/
Published: October 17, 2024 19:49
Have you ever looked at a headline or a graph and thought, “Well, the numbers don’t lie, right?” It’s tempting to trust the stats we see around us — whether it’s a political poll, a study about coffee’s health benefits, or a chart showing the rise of ...
…
How to Loop Through Column Names in Base R with Examples
https://www.r-bloggers.com/2024/10/how-to-loop-through-column-names-in-base-r-with-examples/
Published: October 17, 2024 04:00
Looping through column names in R is a fundamental skill for data manipulation and analysis, especially for beginners in R programming. This guide will walk you through various methods to loop through column names in R, providing examples and ex...
…
Interacting with Users: Mastering scanf() in C
https://www.r-bloggers.com/2024/10/interacting-with-users-mastering-scanf-in-c/
Published: October 16, 2024 04:00
Introduction
For beginner C programmers, understanding how to interact with users through input is crucial. The scanf() function is a fundamental tool in C programming that allows you to read user input and store it in variables. This article w...
…
A Guide to R Package Validation in Pharma
https://www.r-bloggers.com/2024/10/a-guide-to-r-package-validation-in-pharma/
Published: October 15, 2024 15:13
Picture this: a crucial clinical trial is underway, and every data point matters. The pharma industry is increasingly turning to open-source tools like R to handle complex data analysis, drawn by their flexibility, innovation, added value and…
How to Add Prefix to Column Names in Base R: A Comprehensive Guide for Beginners
https://www.r-bloggers.com/2024/10/how-to-add-prefix-to-column-names-in-base-r-a-comprehensive-guide-for-beginners/
Published: October 15, 2024 04:00
Introduction
As a beginner R programmer, you may often find yourself needing to manipulate data frames. One common task is adding prefixes to column names, which can be useful for organizing variables, improving readability, or avoiding naming ...
…
R and Python consoles + JupyterLite in www.techtonique.net
https://www.r-bloggers.com/2024/10/r-and-python-consoles-jupyterlite-in-www-techtonique-net/
Published: October 15, 2024 00:00
R and Python consoles + JupyterLite in www.techtonique.net
Continue reading: R and Python consoles + JupyterLite in www.techtonique.net
R Solution for Excel Puzzles
https://www.r-bloggers.com/2024/10/r-solution-for-excel-puzzles-43/
Published: October 14, 2024 17:55
Puzzles no. 559–563PuzzlesAuthor: ExcelBIAll files (xlsx with puzzle and R with solution) for each and every puzzle are available on my Github. Enjoy.Puzzle #559Sometimes we need to make work on columns. It technically just like working on lists, and l...
…
Shiny for Python: How to Create and Style a Custom Module
https://www.r-bloggers.com/2024/10/shiny-for-python-how-to-create-and-style-a-custom-module/
Published: October 14, 2024 08:13
Think of Shiny for Python custom modules as reusable components. You write the logic once, make it as tweakable as possible, and then reuse it throughout your application. As it turns out, creating custom modules in Shiny for Python is simple enough, but…
How to Add Suffix to Column Names in Base R: A Beginner’s Guide
https://www.r-bloggers.com/2024/10/how-to-add-suffix-to-column-names-in-base-r-a-beginners-guide/
Published: October 14, 2024 04:00
Adding a suffix to column names in R is a common task that can help in organizing and managing data frames, especially when dealing with multiple datasets. This guide will walk you through the process using base R functions, making it accessible...
…
Gradient-Boosting anything (alert: high performance): Part2, R version
https://www.r-bloggers.com/2024/10/gradient-boosting-anything-alert-high-performance-part2-r-version/
Published: October 14, 2024 00:00
Gradient boosting with any regression algorithm in Python package mlsauce. Part2, R version
Continue reading: Gradient-Boosting anything (alert: high performance): Part2, R version
Inventory of methods for comparing spatial patterns in raster data
https://www.r-bloggers.com/2024/10/inventory-of-methods-for-comparing-spatial-patterns-in-raster-data/
Published: October 13, 2024 00:00
Methods for comparing spatial patterns in raster data
This is the first part of a blog post series on comparing spatial patterns in raster data.
Comparison of spatial patterns in raster data is a part of many types of spatial analysi...
Continue reading:…
Calculating an LOOCV MSE by hand
https://www.r-bloggers.com/2024/10/calculating-an-loocv-mse-by-hand/
Published: October 11, 2024 23:36
Last week, we had an “mid-term” exam, for our introduction to statistical learning course. The question is simple: consider three points, , here Consider here some linear models, estimated using least square techniques, what would be the leave-one-out…
What is GxP Validation in Clinical Software Development?
https://www.r-bloggers.com/2024/10/what-is-gxp-validation-in-clinical-software-development/
Published: October 11, 2024 07:01
If you’re a biostatistician or clinical software developer, you’ve probably felt the weight of trying to meet GxP standards while navigating the FDA/EMA submission process. It’s not just about getting the software right—it’s about ensuring safety, quality,…
R You Ready? Git Your Code Under Control!
https://www.r-bloggers.com/2024/10/r-you-ready-git-your-code-under-control/
Published: October 10, 2024 17:41
Hey there, ready to get your R code under control? Whether you’re working on your own or in a small team, managing your code can sometimes feel like juggling too many things at once. But don’t worry — there’s an easy way to stay on top of everything. ...
…
Methods for the smooth functions in R
https://www.r-bloggers.com/2024/10/methods-for-the-smooth-functions-in-r/
Published: October 10, 2024 13:46
I have been asked recently by a colleague of mine how to extract the variance from a model estimated using adam() function from the smooth package in R. The problem was that that person started reading the source code of the forecast.adam() and got lost…
Shapiro-Wilk Normality Test | shapiro.test in R
https://www.r-bloggers.com/2024/10/shapiro-wilk-normality-test-shapiro-test-in-r/
Published: October 10, 2024 12:40
Are you confident in your data analysis?Â
Shapiro-Wilk test in R is essential to ensuring your data fits a normal distribution, but how well do you understand its mechanisms and implications? Can you enhance the reliability of your research findings an...
…
How to Combine Two Data Frames in R with Different Columns Using Base R, dplyr, and data.table
https://www.r-bloggers.com/2024/10/how-to-combine-two-data-frames-in-r-with-different-columns-using-base-r-dplyr-and-data-table/
Published: October 10, 2024 04:00
Introduction
Combining data frames is a fundamental task in data analysis, especially when dealing with datasets that have different structures. In R, there are several ways to achieve this, using base R functions, the dplyr package, and the da...
…
Tales from Open Source Development II: A package you depend on is archived
https://www.r-bloggers.com/2024/10/tales-from-open-source-development-ii-a-package-you-depend-on-is-archived/
Published: October 9, 2024 22:00
This is the second post about some “behind the scene” activities around R package development. The first part of the series was about the recent archival of my R package timeless. This second part is about the consequences for your own packages,...…
Making Your Programs More Powerful with #include and #define for C
https://www.r-bloggers.com/2024/10/making-your-programs-more-powerful-with-include-and-define-for-c/
Published: October 9, 2024 04:00
Introduction
C programming is one of the oldest and most influential programming languages, known for its structured programming, recursion, and portability. As a beginner C programmer, you’re about to embark on an exciting journey into a langu...
…
Use nanoparquet instead of readr/CSV
https://www.r-bloggers.com/2024/10/use-nanoparquet-instead-of-readr-csv/
Published: October 8, 2024 16:11
This is reposted from the original at https://blog.stephenturner.us/p/use-nanoparquet-instead-of-readr-csv.Parquet is interoperable between Python and R, fast to read+write, works well with databases, and stores complex data types (e.g., tib...
Continue…
PowerQuery Puzzle solved with R
https://www.r-bloggers.com/2024/10/powerquery-puzzle-solved-with-r-44/
Published: October 8, 2024 11:28
#223–224PuzzlesAuthor: ExcelBIAll files (xlsx with puzzle and R with solution) for each and every puzzle are available on my Github. Enjoy.Puzzle #223As usual on weekends we are mainly doing table transformations. Sometimes it need simple manouvers and...
…
DuckDB vs dplyr vs base R
https://www.r-bloggers.com/2024/10/duckdb-vs-dplyr-vs-base-r/
Published: October 8, 2024 07:45
Reposted from https://blog.stephenturner.us/p/duckdb-vs-dplyr-vs-base-r.TL;DR: For a very simple analysis (means by group on 100M rows), duckdb was 125x faster than base R, and 28x faster than readr+dplyr, without having to read data from disk int...
…
Can ChatGPT help construct non-trivial statistical models? An example with Bayesian “random” splines
https://www.r-bloggers.com/2024/10/can-chatgpt-help-construct-non-trivial-statistical-models-an-example-with-bayesian-random-splines/
Published: October 8, 2024 00:00
I’ve been curious to see how helpful ChatGPT can be for implementing relatively complicated models in R. About two years ago, I described a model for estimating a treatment effect in a cluster-randomized stepped wedge trial. We used a generalized ad...
…
R Solution for Excel Puzzles
https://www.r-bloggers.com/2024/10/r-solution-for-excel-puzzles-42/
Published: October 7, 2024 19:42
Puzzles no. 554–558PuzzlesAuthor: ExcelBIAll files (xlsx with puzzle and R with solution) for each and every puzzle are available on my Github. Enjoy.Puzzle #554Another interesting number called after Indian mathematician. We need to find first 50 Kapr...
…
Standardising R Projects with the ProjectTemplate package workshop
https://www.r-bloggers.com/2024/10/standardising-r-projects-with-the-projecttemplate-package-workshop/
Published: October 7, 2024 13:21
Join our workshop on Standardising R Projects with the ProjectTemplate package, which is a part of our workshops for Ukraine series! Here’s some more info: Title: Standardising R Projects with the ProjectTemplate package Date: Thursday, November 7th,…
Exploratory Data Analysis: Will PCE Data Push Bitcoin?
https://www.r-bloggers.com/2024/10/exploratory-data-analysis-will-pce-data-push-bitcoin/
Published: October 7, 2024 09:00
Could the latest PCE data catalyze Bitcoin to surge beyond major resistance and reach $70K? The last time that US PCE Price Index values were under the estimates (miss), BTC prices rocketed. Source code:
Continue reading: Exploratory Data Analysis: Will…