المشاركات

عرض المشاركات من يوليو, 2023

Using flexdashboard to create a GitHub Actions-powered YouTube feed

صورة
Utagawa Yoshikazu, Early Foreign Photographer in Yokohama R-Ladies organizes a multitude of inspiring and exciting Meetups worldwide. However, due to work, time zones, or other commitments, I can’t attend them all. Fortunately, since the pand... Continue reading: Using flexdashboard to create a GitHub Actions-powered YouTube feed http://dlvr.it/St1J68

Quantum Entanglement

صورة
Cover photo by inkoly ref. 1185114379 on iStock Go to R-bloggers for R news and tutorials contributed by hundreds of R bloggers. This is the second article of the Quantum Computing simulation with R series. Introduction Welcome back to our quantum jour... Continue reading: Quantum Entanglement http://dlvr.it/SszLmj

Log transforms, geometric means and estimating population totals by @ellis2013nz

صورة
Motivation I usually talk about statistical inference as having one of three purposes: estimating some finite and defined population parameter, like the mean income of mechanical apprentices in 1890s London or the number of 5-9 year olds living in... Continue reading: Log transforms, geometric means and estimating population totals by @ellis2013nz http://dlvr.it/SszLXv

Mr. Mastodon Farm: analysing a mastodon ActivityPub outbox.json file

صورة
I migrated my personal Mastodon account from mastodon.social to biologists.social recently. If you’d like to do the same, I found this guide very useful. Note that, once you move, all your previous posts are left behind on the old instance. Before I migrated, I downloaded all of ... Continue reading: Mr. Mastodon Farm: analysing a mastodon ActivityPub outbox.json file http://dlvr.it/SsxKwl

The Old Faithful Geyser Data shiny app with webR, Bootstrap & ExpressJS

This post is the second one of a series of post about webR: Using webR in an Express JS REST API The Old Faithful Geyser Data shiny app with webR, Bootstrap & ExpressJS Note: the first post of this series explaining roughly what webR is,... Continue reading: The Old Faithful Geyser Data shiny app with webR, Bootstrap & ExpressJS http://dlvr.it/SsvMjc

Adding social media icons to charts with {ggplot2}

صورة
When I’ve created data visualisations with {ggplot2} recently, I’ve been adding icons with my social media details in the caption. It’s a great, concise way to put your name on your work, and make it easy for people to find your profi... Continue reading: Adding social media icons to charts with {ggplot2} http://dlvr.it/SsrkrQ

Reducing my for loop usage with purrr::reduce()

I (only! but luckily!) recently got introduced to the magic of purrr::reduce(). Thank you, Tobias! I was told about it right as I was unhappily using many for loops in a package1, for lack of a better idea. In this post I’ll explain how purrr::re... Continue reading: Reducing my for loop usage with purrr::reduce() http://dlvr.it/SsnvJH

A Heatmap of James Lind’s Scurvy Study

صورة
This week’s TidyTuesday concerns what some have called the first randomized clinical trial- a study by James Lind evaluating various treatments for scurvy. This data has been collected into the medicaldata R package from Lind’s book on scurvy. Loading the Libraries and Data library(tidyverse) # who doesn't want ... Continue reading: A Heatmap of James Lind’s Scurvy Study http://dlvr.it/Ssl3gc

Request for Resources: Teaching Computer Science Basics to R Programmers

One of the most enjoyable parts of my job is teaching R to our incoming analysts. These analysts are largely recent college graduates with a limited background in computer science and statistics. Historically my job has been to teach them the basics of the Tidyverse over 3 half-days. I’m writing ... Continue reading: Request for Resources: Teaching Computer Science Basics to R Programmers http://dlvr.it/SshGGq

Front-door Adjustment

صورة
Front-door adjustment: a superhero method for handling unobserved confounding by using mediators (if present) to estimate causal effects accurately. Let’s DAG an estimand! library(dagitty) dag Continue reading: Front-door Adjustment http://dlvr.it/SsdV5p

When Numbers Meet Stories – an introduction to the synthetic control method in R

صورة
Introduction “Qualitative flesh on quantitative bones.” Sidney Tarrow Greetings, humanists, social and data scientists! As our world grows increasingly data-driven, novel methods emerge that allow us to explore present and past social pheno... Continue reading: When Numbers Meet Stories – an introduction to the synthetic control method in R http://dlvr.it/SsbTJR

fusen v0.5: Gotta inflate ’em all !

صورة
You can read the original post in its original format on Rtask website by ThinkR here: fusen v0.5: Gotta inflate ’em all ! No more amnesia for {fusen}! With v0.5, it now has “memory”, allowing you to inflate all your flat files simultaneously. The aim of this latest version of {fusen} ... Continue reading: fusen v0.5: Gotta inflate ’em all ! http://dlvr.it/SsYZ3V

rOpenSci News Digest, July 2023

Dear rOpenSci friends, it’s time for our monthly news roundup! You can read this post on our blog. Now let’s dive into the activity at and around rOpenSci! rOpenSci HQ Open Call for rOpenSci Champions Program Applications! We are pleased to open the call for the second cohort ... Continue reading: rOpenSci News Digest, July 2023 http://dlvr.it/SsYYl1

Teaching targets with Penguins

صورة
Many researchers are becoming more aware of the importance of reproducibility. Although reproducibility involves a diverse array of topics and tools, one rOpenSci package has gained considerable attention for enabling reproducible analysis pipelines i... Continue reading: Teaching targets with Penguins http://dlvr.it/SsVw66

Gröbner implicitization and the ‘giacR’ package

I considerably improved the computation of the Gröbner bases in the qspray package, and I implemented something new: Gröbner implicitization. The Gröbner implicitization is able to transform a sys... Continue reading: Gröbner implicitization and the ‘giacR’ package http://dlvr.it/SsS5Jt

Communicating development stages of open-source software

Software is not immediately stable when being developed. It undergoes design changes, changes to the user interface (application programming interface, API), and features get added or removed over time. Software in a open-source setting, in which... Continue reading: Communicating development stages of open-source software http://dlvr.it/SsPKHX

Probabilistic forecasting for the FIFA Women’s World Cup 2023

صورة
Winning probabilities for all teams in the FIFA Women's World Cup are obtained using a consensus model based on quoted bookmakers' odds. The favorite is defending World Champion United States, followed by European Champion England, and Spain.... Continue reading: Probabilistic forecasting for the FIFA Women’s World Cup 2023 http://dlvr.it/SsLWXs

I’m hiring a C++ tutor who knows R

General objective I need to hire a tutor who can teach me C++ and how to integrate it with R. For this, I need a tutor that has at least 2 years of experience with R and ideally that writes C++ code professionally. Specific objectives I want t... Continue reading: I’m hiring a C++ tutor who knows R http://dlvr.it/SsJX32

Tidymodels Machine Learning: Diabetes Classification

صورة
Start Tidymodels Machine Learning: Diabetes Classification 9 July 2023 #Preliminaries: knitr::opts_chunk$set(message=FALSE, warning=FALSE, eval = FALSE) #set eval = TRUE when run first rm(list=ls()) library(tidyverse) library(tidymodels)... Continue reading: Tidymodels Machine Learning: Diabetes Classification http://dlvr.it/SsFvzv

Linear Models in R – Part 3

صورة
A step-by-step explanation of how to fit a linear model. Here we cover GLMs (Generalized Linear Models) but focus on the Poisson link with a large number of fixed effects and work with datasets that we have to download and join to produce a final ... Continue reading: Linear Models in R – Part 3 http://dlvr.it/SsCVlj

Introducing dataverifyr: A Lightweight, Flexible, and Fast Data Validation Package that Can Handle All Sizes of Data

صورة
In every data project, there should be a check that the data actually looks like what you expect it to look like. This can be as simple as stopifnot(all(data$values __ 0)), but as with everything “simple”, you typically want to have some additional features, such as cleaner error messages, ... Continue reading: Introducing dataverifyr: A Lightweight, Flexible, and Fast Data Validation Package that Can Handle All Sizes of Data http://dlvr.it/SsCVbv

Another Hopf torus

صورة
Recall that a Hopf torus is a two-dimensional object in the 4D space defined by a profile curve: a closed curve on the unit sphere. When mapping it to the 3D space with the stereographic projection, we ca... Continue reading: Another Hopf torus http://dlvr.it/Ss8sLR

Testing functional specification in linear regression

صورة
Another one from the series on “misspecified regression models” (started with Model Misspecification and Linear Sandwiches). Intro Lately I’ve been messing around with the {lmtest} R package, a nice collection of hypothesis tests for classical linea... Continue reading: Testing functional specification in linear regression http://dlvr.it/Ss64Q7

A Closer Look at the R Function identical()

Introduction In the realm of programming, R is a widely-used language for statistical computing and data analysis. Within R, there exists a powerful function called identical() that allows programmers to compare objects for exact equality. In th... Continue reading: A Closer Look at the R Function identical() http://dlvr.it/Ss3DHP

Unveiling a New Era in Molecular Visualization: Introducing shiny.molstar for Large Molecular Structures Visualization in R

صورة
The Importance of Molecular Visualization and Analysis in Drug Discovery Drug discovery is a process that allows scientists to identify novel drug candidates that could eventually be approved for the treatment of a disease. There is an interesting relationship between drug discovery and the visualization of large molecular structures, such ... Continue reading: Unveiling a New Era in Molecular Visualization: Introducing shiny.molstar for Large Molecular Structures Visualization in R http://dlvr.it/Ss0J7f

Rhino 1.4.0 Update on CRAN: Streamlined Dependency Management and React Support

صورة
We are pleased to announce that Rhino 1.4 is now available on CRAN! This update simplifies dependency management in your project, allows you to integrate React seamlessly into your app, and resolves some issues with {box} modules. Read on to learn more! Simplified Dependency Management Rhino relies on {renv} for managing ... Continue reading: Rhino 1.4.0 Update on CRAN: Streamlined Dependency Management and React Support http://dlvr.it/SrymKR

New R Package For HTTP Headers Hashing

HTTP Headers Hashing (HHHash) is a technique developed by Alexandre Dulaunoy to generate a fingerprint of an HTTP server based on the headers it returns. It employs one-way hashing to generate a hash value from the list of header keys returned by the server. The HHHash value is calculated by ... Continue reading: New R Package For HTTP Headers Hashing http://dlvr.it/SrxQWC

midfieldr v1.0.1

صورة
Summary A qualitative overview of the midfieldr package and its application following its initial CRAN release. midfieldr provides tools and recommended methods for working with individual undergraduate student-level records (registrar’s ... Continue reading: midfieldr v1.0.1 http://dlvr.it/SrxQKS

Air Quality VS Respiratory Diseases Dashboard: Shiny as a Powerful Tool for Data-Driven Insights

صورة
Understanding the Air Pollution with Shiny Air pollution is a global problem that affects the health and well-being of millions of people each year. Poor air quality is linked to various respiratory diseases such as asthma, chronic obstructive pulmonary disease (COPD), and lung cancer. Monitoring air quality is crucial in ... Continue reading: Air Quality VS Respiratory Diseases Dashboard: Shiny as a Powerful Tool for Data-Driven Insights http://dlvr.it/SrvMFN

R Shiny Gantt Chart: How to Modernize Planning Management in Pharma

صورة
We live in a constantly and rapidly evolving environment, which means that effective planning management is crucial for companies. This is particularly true in the pharmaceutical sector, which involves stringent regulations, research and development timelines, and intricate supply chains. Traditional planning methods often fall short in providing a comprehensive overview ... Continue reading: R Shiny Gantt Chart: How to Modernize Planning Management in Pharma http://dlvr.it/SrsM5F

A Gentle Introduction to K-Means Clustering in R (Feat. Tidyclust)

صورة
To be successful as a Data Scientist, you’re often put in positions where you need to find groups within your data. One key business use-case is finding clusters of customers that behave similarly. And that’s a powerful skill that I’m going to help you... Continue reading: A Gentle Introduction to K-Means Clustering in R (Feat. Tidyclust) http://dlvr.it/SrpZFs

R Validation Hub Community Meeting – June Recap ↺

صورة
The R Validation Hub recently had its community meeting after a brief hiatus. The team discussed announcements, common challenges, and brainstormed ideas for possible future projects through the R Validation... The post R Validation Hub Community Meeting – June Recap ↺ appeared first on R Consortium. Continue reading: R Validation Hub Community Meeting – June Recap ↺ http://dlvr.it/SrldT3

Write a function with Python and R

صورة
R and Shiny Training: If you find this blog to be interesting, please note that I offer personalized and group-based training sessions that may be reserved through Buy me a Coffee. Additionally, I provide training services in the Spanish language ... Continue reading: Write a function with Python and R http://dlvr.it/SrhkJk

Credible intervals with Capybaras, R and Stan (rstan and cmdstanr interfaces)

R and Shiny Training: If you find this blog to be interesting, please note that I offer personalized and group-based training sessions that may be reserved through Buy me a Coffee. Additionally, I provide training services in the Spanish language ... Continue reading: Credible intervals with Capybaras, R and Stan (rstan and cmdstanr interfaces) http://dlvr.it/Srf0f0

ShinyConf 2023: A Medical Educato(R)’s Journey to Data Science

صورة
Special thanks are due to Dr. Amit Diwakar, Dr. Jeffrey Solomon, and Jennifer Hayes for their contributions in making this project a resounding success and continuously striving for improvement. I had the pleasure of presenting our project at Shi... Continue reading: ShinyConf 2023: A Medical Educato(R)’s Journey to Data Science http://dlvr.it/Srb7HM

How to self-publish a technical book on Leanpub and Amazon using Quarto

صورة
UPDATE: I’ve update this blog post on the 30 of June 2023. I corrected a statement where I said that the _quarto.yml file is where you can choose the version of R to compile the book. That’s wrong, choosing the version of R to compile the book is done ... Continue reading: How to self-publish a technical book on Leanpub and Amazon using Quarto http://dlvr.it/SrY07n

Lessons Learned From Running R in Production

صورة
Introduction A couple weeks ago, I wrote a high-level post on REST APIs. One thing that I noted was that I couldn’t, in good faith, recommend running R (or Plumber, a common library used to create APIs in R) in any type of high-load production sy... Continue reading: Lessons Learned From Running R in Production http://dlvr.it/SrVwMK