المشاركات

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

Scanning QR codes in R

صورة
The latest version of the opencv R package can detect and decode QR codes! # Install latest opencv install.packages("opencv", repos = " https://ropensci.r-universe.dev") /> There are two ways of using this: the ocv_qr_detect function tries... Continue reading: Scanning QR codes in R http://dlvr.it/SyC18c

Randomness in R: runif(), punif(), dunif(), and quinf()

صورة
Introduction Randomness is an essential part of many statistical and machine learning tasks. In R, there are a number of functions that can be used to generate random numbers, but the runif() function is the most commonly used. The runif() func... Continue reading: Randomness in R: runif(), punif(), dunif(), and quinf() http://dlvr.it/Sy8s8D

All The Right Friends II: clustering papers using Google Scholar data

صورة
In a previous post, I looked at how Google Scholar ranks co-authors. While I had the data available I wondered whether paper authorship could be used in other ways. A few months back, John Cook posted about using Jaccard index and jazz albums. The idea is to look at the ... Continue reading: All The Right Friends II: clustering papers using Google Scholar data http://dlvr.it/Sy7Jmq

[R] tidy evaluation in ggplot2

صورة
Zhenguo Zhang's Blog /2023/10/23/r-tidy-evaluation-in-ggplot2/ - Since ggplot2 version 3.0.0, it started to support tidy evaluation, and use the technique to replace aes_ and aes_string(). In this post, I would like to show how the syntax of ggplot2 ... Continue reading: [R] tidy evaluation in ggplot2 http://dlvr.it/Sy6WjF

Approaches to Calculating Number Needed to Treat (NNT) with Meta-Analysis

صورة
Here, we have demonstrated three different methods for calculating NNT with meta-analysis data. I learned a lot from this experience, and I hope you find it enjoyable and informative as well. Thank you, @wwrighID, for initiating the discussion and pro... Continue reading: Approaches to Calculating Number Needed to Treat (NNT) with Meta-Analysis http://dlvr.it/Sy5WQ4

Multistep horizon loss optimized forecasting with ADAM

صورة
Recently, during work on some forecasting task at PowereX, I stumbled upon an interesting improvement in time series forecasting modeling. In general, in regression modeling, we use evaluation/loss metrics based on one step ahead (one value) horizon. B... Continue reading: Multistep horizon loss optimized forecasting with ADAM http://dlvr.it/Sy3n5X

Innovate Faster with {ShinyUiEditor}: Effortless Shiny App Prototyping

صورة
It’s not common for Shiny Developers and Data Scientists to have strong design and frontend/web development skills. They usually prefer working with data, quickly visualizing it, and try to avoid diving into the complexities of CSS.  Getting buy-in within an organization for technological projects is hard. Many decision-makers ... Continue reading: Innovate Faster with {ShinyUiEditor}: Effortless Shiny App Prototyping http://dlvr.it/Sy1NhZ

Next 3 Friday the 13th

صورة
Excel BI’s Excel Challenge #310 — solved in RDefining the Puzzle:It was early Monday morning when hunt for Fridays come up. Of course new riddle about Fridays 13th.Task was really short yet challenging: Find the next 3 Friday the 13th dates for dates g... Continue reading: Next 3 Friday the 13th http://dlvr.it/Sxzzlg

Sort Text Numbers

صورة
Excel BI’s Excel Challenge #311 — solved in RDefining the Puzzle:In puzzles and riddles from ExcelBI we usually play with numbers or words, why not both at once. Lets dive into the newest one.We need to sort digits in numbers written by numerals :-)Sor... Continue reading: Sort Text Numbers http://dlvr.it/Sxymj9

Ted Laderas Discusses CascadiaR and the Diverse R Community in Portland

صورة
Ted Laderas of the Portland R User Group shared his experience of pioneering the Cascadia R Conference for the Pacific Northwest and the West Coast. The conference is now in... The post Ted Laderas Discusses CascadiaR and the Diverse R Community in Portland appeared first on R Consortium. Continue reading: Ted Laderas Discusses CascadiaR and the Diverse R Community in Portland http://dlvr.it/SxymRB

What’s a Bland-Altman Plot? In Base R

صورة
Introduction Before we dive into the code, let’s briefly understand what a Bland-Altman plot is. It’s a graphical method to visualize the agreement between two measurement techniques, often used in fields like medicine or any domain with compara... Continue reading: What’s a Bland-Altman Plot? In Base R http://dlvr.it/SxxhqM

so long, and thanks for all the quests

صورة
The Riddler, which I have followed for many years, has been discontinued by FiveThirtyEight, but its producer, Zach Wissner-Gross, has launched a personal website to keep considering a weekly mathematical puzzle. The Fiddler on the Proof! Expect thus ... Continue reading: so long, and thanks for all the quests http://dlvr.it/Sxw4N2

Unlocking the Power of Functional Programming in R (Part 2): Key Concepts & Analytical Benefits

صورة
Functional Programming‘s relevance in the R programming language, a language primarily known for its prowess in data analysis and statistical computing, is particularly noteworthy. By leveraging functional programming, organizations can improve operational efficiency and gain a competitive edge.  R’s ecosystem is enriched by functional programming paradigms, which enable ... Continue reading: Unlocking the Power of Functional Programming in R (Part 2): Key Concepts & Analytical Benefits http://dlvr.it/SxvMSt

Creating a Scree Plot in Base R

صورة
Introduction A scree plot is a line plot that shows the eigenvalues or variance explained by each principal component (PC) in a Principal Component Analysis (PCA). It is a useful tool for determining the number of PCs to retain in a PCA model. I... Continue reading: Creating a Scree Plot in Base R http://dlvr.it/Sxv3dc

Algorithms for unweighted sampling without replacement

صورة
I am currently working on weighted sampling for dqrng, c.f. #72, for which also have to decide on the algorithm(s) to use for weighted sampling without replacement. Before looking at that I wanted to verify my decisions for the unweighted case. Usin... Continue reading: Algorithms for unweighted sampling without replacement http://dlvr.it/SxrjR0

All The Right Friends: how does Google Scholar rank co-authors?

صورة
On a scientist’s Google Scholar page, there is a list of co-authors in the sidebar. I’ve often wondered how Google determines in what order these co-authors appear. The list of co-authors on a primary author’s page is not exhaustive. It only lists co-authors who also have a ... Continue reading: All The Right Friends: how does Google Scholar rank co-authors? http://dlvr.it/Sxn3jM

Reproducible data science with Nix, part 7 — Building a Quarto book using Nix on Github Actions

Back in June I self-published a book on Amazon’s Kindle Direct Publishing service and wrote a blog post detailling how you could achieve that using Quarto, which you can read here. The book is about building reproducible analytical pipelines with R. For the purposes of this post I made ... Continue reading: Reproducible data science with Nix, part 7 — Building a Quarto book using Nix on Github Actions http://dlvr.it/Sxn3X8

Highlights from Shiny in Production (2023)

صورة
Following on from the success of Shiny in Production 2022, last week we were delighted to host the conference for the second time. The event took place at the Catalyst in Newcastle and featured tw... Continue reading: Highlights from Shiny in Production (2023) http://dlvr.it/SxlFVJ

Mastering Interaction Plots in R: Unveiling Hidden Relationships

صورة
Introduction In the world of data analysis, uncovering hidden relationships between variables is often the key to making informed decisions. Interaction plots in R can be your secret weapon, revealing how two or more variables interact to affect... Continue reading: Mastering Interaction Plots in R: Unveiling Hidden Relationships http://dlvr.it/SxlFKw

Making Time Series Stationary Made Easy with auto_stationarize()

صورة
Introduction When working with time series data, one common challenge is dealing with non-stationary data. Non-stationary time series can be a headache for analysts, but fear not, because we have a handy tool to make your life easier. Say hello ... Continue reading: Making Time Series Stationary Made Easy with auto_stationarize() http://dlvr.it/SxhnBl

Semi Prime Numbers

صورة
Excel BI’s Excel Challenge #306 — solved in RDefining the PuzzleWe are getting back to checking numbers properties with ExcelBI. Today we have some numbers to determine if they are Semi Prime. Post with riddle is here.List all Semi Prime Numbers.A Semi... Continue reading: Semi Prime Numbers http://dlvr.it/SxfBLC

Releasing collapse 2.0: Blazing Fast Joins, Reshaping, and Enhanced R

I’m excited to announce the release of collapse 2.0, adding blazing fast joins, pivots, flexible namespace and many other features, including a brand new website, an updated cheat sheet, and a new vignette aimed at tidyverse users. In the 3.5 years after the first release of collapse 1.0 to CRAN in March 2020, ... Continue reading: Releasing collapse 2.0: Blazing Fast Joins, Reshaping, and Enhanced R http://dlvr.it/SxbbzT

The real reset button for local mess fom tests: withr::deferred_run()

Following last week’s post on my testing workflow enhancements, Jenny Bryan kindly reminded me of the existence of an actual reset button when you’ve been interactively running tests that include some “local mess”: withr::local_... Continue reading: The real reset button for local mess fom tests: withr::deferred_run() http://dlvr.it/SxXzxc

Version v0.14.0 of nnetsauce for R and Python

صورة
Randomized and Quasi-Randomized 'neural' networks for supervised learning and multivariate time series forecasting Continue reading: Version v0.14.0 of nnetsauce for R and Python http://dlvr.it/SxXzgV

Analyzing Time Series Growth with ts_growth_rate_vec() in healthyR.ts

صورة
Introduction Time series data is essential for understanding trends and making forecasts in various fields, from finance to healthcare. Analyzing the growth rate of time series data is a crucial step in uncovering valuable insights. In the world... Continue reading: Analyzing Time Series Growth with ts_growth_rate_vec() in healthyR.ts http://dlvr.it/SxXFKY

Winning Teams Point Balances

صورة
Excel BI’s Excel Challenge #304 — solved in RDefining the PuzzleThe puzzle revolves around sports team statistics and their respective weightages. Each team has matches that are either Wins (W), Draws (D), or Losses (L). These are given weightages of 1... Continue reading: Winning Teams Point Balances http://dlvr.it/SxVkxF

Stochastic Fluid Dynamics

صورة
Stochastic Fluid Dynamics Wednesday, November 15th, 6:00 PT / 9:00 ET / 15:00 CET The study of fluid dynamics equations with white forcing is a classical topic in SPDEs and ergodic theory. Recently a new wave of interest, with a shift in focus towa... Continue reading: Stochastic Fluid Dynamics http://dlvr.it/SxTJ98

Mastering the Art of Drawing Circles in Plots with R

صورة
Introduction As an R programmer, you may want to draw circles in plots to highlight certain data points or to create visualizations. Here are some simple steps to draw circles in plots using R: Examples First, create a scatter plot using the ... Continue reading: Mastering the Art of Drawing Circles in Plots with R http://dlvr.it/SxRFJl

All Primes After Removal Single Digits

صورة
Excel BI’s Excel Challenge #303— solved in RDefining the PuzzleOur puzzle revolves around identifying numbers that, when any digit is removed, still remain prime. Let’s take a closer look:Example 1: Consider the number 371.Removing the first digit (3) ... Continue reading: All Primes After Removal Single Digits http://dlvr.it/SxQjBm

How to Use cex to Change the Size of Plot Elements in base R

صورة
Introduction Let’s dive into the world of R and explore how to use cex to change the size of plot elements in base R. Whether you’re a seasoned R user or just starting out, understanding how to control the size of text and symbols in your plots ... Continue reading: How to Use cex to Change the Size of Plot Elements in base R http://dlvr.it/SxNJY1

Steve's Data Tips and Tricks 2023-10-09 22:00:00

صورة
Introduction Changing the size of the legend on a plot in R can be a handy skill, especially when you want to enhance the readability and aesthetics of your visualizations. In this blog post, we’ll explore different methods to resize legends on R... Continue reading: Steve's Data Tips and Tricks 2023-10-09 22:00:00 http://dlvr.it/SxKjps

Council of the Ents: How Random Forest in tidymodels Delivers Judgments

صورة
The tapestry of metaphors we’ve been weaving in the “Metaphors in Motion” series takes a mythical twist as we step into our fourth installment. We’ve traversed the plains of linear regression, delved into the binary realms of logistic regression, and c... Continue reading: Council of the Ents: How Random Forest in tidymodels Delivers Judgments http://dlvr.it/SxH7L4

An Educational Stroll With Stan – Part 4

صورة
What an incredible journey it has been! I’m thoroughly enjoying working with Stan codes, even though I don’t yet grasp all the intricacies. We’ve already tackled simple linear and logistic regressions and delved into the application ... Continue reading: An Educational Stroll With Stan – Part 4 http://dlvr.it/SxDTvW

Visualising connection in R workshop

Join our workshop on Visualising connection in R, which is a part of our workshops for Ukraine series!  Here’s some more info:  Title: Visualising connection in R Date: Thursday, November 9th, 19:00 – 21:00 CEST (Rome, Berlin, Paris timezone) Speaker: Rita Giordano is a freelance data visualisation consultant and scientific illustrator based ... Continue reading: Visualising connection in R workshop http://dlvr.it/SxB1kN

Enneper surface with square checkerboard

صورة
In a previous post, I showed how to use the CGAL parameterizations ported to my package cgalMeshes to decorate the Enneper surface of order three with a radial checkerboard. Here I w... Continue reading: Enneper surface with square checkerboard http://dlvr.it/Sx8DJy

Working With Legacy Code: Extending Shiny Modules with the Sprout Technique and Test Driven Development

صورة
Making changes to a legacy system can be daunting. How can we develop code when we don’t have unit tests for a part of a system we need to change? How do we ensure a new feature is unit-tested when the rest of the codebase lacks them? One approach ... Continue reading: Working With Legacy Code: Extending Shiny Modules with the Sprout Technique and Test Driven Development http://dlvr.it/Sx6Slz

Shiny App Successfully Reviewed by FDA CDER Staff (Pilot 2 Announcement 2)

صورة
The R Consortium is pleased to announce that on Sept 27, 2023, the R Submissions Working Group successfully completed the follow-up to the pilot 2 R shiny based submission and... The post Shiny App Successfully Reviewed by FDA CDER Staff (Pilot 2 Announcement 2) appeared first on R Consortium. Continue reading: Shiny App Successfully Reviewed by FDA CDER Staff (Pilot 2 Announcement 2) http://dlvr.it/Sx44XM

An Educational Stroll With Stan – Part 3

صورة
Diving into this, we’re exploring how using numbers to express our certainty, especially with medical results, can help sharpen our estimated ‘posterior value’ and offer a solid base for learning and discussions. We often talk about ... Continue reading: An Educational Stroll With Stan – Part 3 http://dlvr.it/Sx34mV

An overview of what’s out there for reproducibility with R

صورة
In this short blog post I’ll be summarizing what I learnt these past years about reproducibility with R. I’ll give some high-level explanations about different tools and then link to different blog posts of mine. I see currently two main approaches with some commonalities, so let’s start ... Continue reading: An overview of what’s out there for reproducibility with R http://dlvr.it/Sx1XK8

Making The Most Out of {shiny.telemetry} Using PostgreSQL & Timescale

صورة
Recently, I was tasked with setting up telemetry for various demo applications here at Appsilon and building a dashboard to monitor the generated telemetry data. Being a performance enthusiast, I aimed for optimal performance, including fast database writes and quick retrieval of aggregated data. In this blog post, I will ... Continue reading: Making The Most Out of {shiny.telemetry} Using PostgreSQL & Timescale http://dlvr.it/Sx0qWg

The Most Unexpectedly Good and Bad TV Episodes

صورة
The 9th episode of the 2nd Season of Ted Lasso is an episode called “Beard After Hours” which I found to be a pretty bad episode on a pretty good show. I wondered whether others found this to be an unexpectedly bad episode of TV or if it was just ... Continue reading: The Most Unexpectedly Good and Bad TV Episodes http://dlvr.it/SwxwMj

Elliptic cyclide by inversion of a torus

صورة
An elliptic Dupin cyclide can be obtained by inversion of a torus with respect to a sphere. In the previous post, I showed a rotoid (an helix) dancing around a cyclide: ... Continue reading: Elliptic cyclide by inversion of a torus http://dlvr.it/SwwLg9

Get DataCamp Premium for Just $1!

The best learning investment you’ll ever make. For one week only, get unlimited access to DataCamp for one month for just $1. Regular subscription resumes after first month. Running until October 8, 2023, online data science and AI learning platform DataCamp is offering its premium subscription for only $1. With DataCamp Premium, you ... Continue reading: Get DataCamp Premium for Just $1! http://dlvr.it/SwwLZC

Horizontal Boxplots in R using the Palmer Penguins Data Set

صورة
Introduction Boxplots are a great way to visualize the distribution of a numerical variable. They show the median, quartiles, and outliers of the data, and can be used to compare the distributions of multiple groups. Horizontal boxplots are a va... Continue reading: Horizontal Boxplots in R using the Palmer Penguins Data Set http://dlvr.it/SwwLN9

Diffusion models in ESGtoolkit + announcements

صورة
Diffusion models in ESGtoolkit + announcements. Continue reading: Diffusion models in ESGtoolkit + announcements http://dlvr.it/SwwLH1

The UN’s proposed Multidimensional Vulnerability Index by @ellis2013nz

صورة
The United Nations President of the General Assembly’s High-Level Panel on the development of a Multidimensional Vulnerability Index have (September 2023) released an Advanced Unedited Version of their Final Report, and along with it the scores on that... Continue reading: The UN’s proposed Multidimensional Vulnerability Index by @ellis2013nz http://dlvr.it/SwsnnC

Preprocessing the Norwegian Web as Corpus (NoWaC) in R

The present script can be used to pre-process data from a frequency list of the Norwegian as Web Corpus (NoWaC). Before using the script, the frequency list should be downloaded from https://www.hf.uio.no/iln/english/about/organization/text-laborat... /> Continue reading: Preprocessing the Norwegian Web as Corpus (NoWaC) in R http://dlvr.it/Swqz60