المشاركات

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

Dependency Management

This post is part of a series called The Missing Semester of Your DS Education. Introduction When I was first learning to program, I’d face problems that would require (or at least were just made easier by using) library code. For instan... Continue reading: Dependency Management http://dlvr.it/SpvWbW

An introductory workshop in Shiny, June 1st from 17.30 to 18.30 (FREE)

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: An introductory workshop in Shiny, June 1st from 17.30 to 18.30 (FREE) http://dlvr.it/SptJWl

Covid-19 vaccination rates in the Pacific by @ellis2013nz

صورة
During the Covid-19 global health crisis, the organisation where I work - the Pacific Community, or SPC - compiled and published weekly updates on Covid-19 incidence, mortality and vaccination rates. This only recently stopped with the WHO determining ... Continue reading: Covid-19 vaccination rates in the Pacific by @ellis2013nz http://dlvr.it/Spq0mp

AMMI analyses for multi-environment studies

صورة
Again into a subject that is rather important for most agronomists, i.e. the selection of crop varieties. All farmers are perfectly aware that crop performances are affected both by the genotype and by the environment. These two effects are not pure... Continue reading: AMMI analyses for multi-environment studies http://dlvr.it/Spk99G

Why Check File Size Output for Different Methods?

Introduction When working with data, it is important to be aware of the file size of the data you are working with. This is especially true when you are working with large datasets, as the file size can have a significant impact on the performan... Continue reading: Why Check File Size Output for Different Methods? http://dlvr.it/Spj8Gj

5 Ways R Programming and R Shiny Can Improve Your Business Workflows

صورة
It doesn’t take a data scientist to use R – that’s the point we’ll prove in today’s article. If you’re an experienced Excel user, you’ve likely run into some hard limitations, or find the tool confusing and sluggish when working with large datasets. That’s ... Continue reading: 5 Ways R Programming and R Shiny Can Improve Your Business Workflows http://dlvr.it/SpfFgW

Exploring Data with TidyDensity: A Guide to Using tidy_empirical() and tidy_four_autoplot() in R

Introduction Yesterday I had the need to see data that had a grouping column in it. I wanted to use the tidy_four_autoplot() function on it from the {TidyDensity} library on it. This post will explain how I did it. The data in my session was cal... Continue reading: Exploring Data with TidyDensity: A Guide to Using tidy_empirical() and tidy_four_autoplot() in R http://dlvr.it/Spb5bm

Cpp11 (R package) vendoring

R/Shiny Training: Should you find this blog to be of interest, kindly 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 and am available to discuss means by which I may ... Continue reading: Cpp11 (R package) vendoring http://dlvr.it/SpWxQS

Using cpp11 (R package) and llvm on Ubuntu

R/Shiny Training: Should you find this blog to be of interest, kindly 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 and am available to discuss means by which I may ... Continue reading: Using cpp11 (R package) and llvm on Ubuntu http://dlvr.it/SpSpRC

Up Your Blogging Game: Three Enhancements to Hugo Apero

This post provides a detailed guide to customizing the Hugo Apero template, focusing on changing themes, adding a search bar, and altering fonts for a truly personalized blogging experience. Continue reading: Up Your Blogging Game: Three Enhancements to Hugo Apero http://dlvr.it/SpPsvy

Using bookdown with gh-pages

R/Shiny Training: Should you find this blog to be of interest, kindly 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 an... Continue reading: Using bookdown with gh-pages http://dlvr.it/SpMjWZ

Bayesian nonparametric modeling of conditional multidimensional dependence structures

صورة
Overview In many real data applications we are often required to model jointly \(d\geq 3\) continuous random variables, denoted as \(Y_1,\dots,Y_d\) . The multivariate distribution, which allows us to describe the joint behaviour of those variables, can be denoted as \(F(Y_1,\dots,Y_d)=P(Y_1\le ... Continue reading: Bayesian nonparametric modeling of conditional multidimensional dependence structures http://dlvr.it/SpKcnw

rOpenSci Champions Program Teams: Meet César and Marc

We designed the rOpenSci Champions Program with a mentorship aspect. Mentoring plays a significant role in the growth and development of both mentors and mentees alike. In our program, each Champion has a mentor who accompanies them during their train... Continue reading: rOpenSci Champions Program Teams: Meet César and Marc http://dlvr.it/SpGp2r

Z score in R

صورة
Introduction “We don’t need no education.” Pink Floyd In this lesson we will use data of the General Social Survey (1972-1978) to study American society in the seventies. In particular, we would like to study schooling duration for individuals... Continue reading: Z score in R http://dlvr.it/SpDCs8

Becoming an R developer: the workshop

صورة
Learn how to work in an R development team with us on May 31st! With the 4th and last chapter of our “Introduction to R” learning path we terminate our journey towards building strong R programming foundations and skills. With the “Become an R Deve... Continue reading: Becoming an R developer: the workshop http://dlvr.it/SpCrGF

sp evolution status: examples of migration from retiring packages

sp evolution status Use of sp affected functions and methods Possible difficulties Why not terra? [view raw Rmd] Summary: This is the fourth report on the R-spatial evolution project and is addressed to maintainers ... Continue reading: sp evolution status: examples of migration from retiring packages http://dlvr.it/SpBDJL

Using OTP (one-time passwords) in rstudio server open source

Background Lately, I decided to harden security a bit. This included securing my rstudio server (open source) with one-time passwords. Two-factor authentication (or multi-factor authentication) is when you use a username, password, and another means of... Continue reading: Using OTP (one-time passwords) in rstudio server open source http://dlvr.it/Sp7Fkn

Better Understanding Your Tools Choices with Online Book HTTP Testing in R

صورة
Working with internet sources can be a tricky subject. In order to deal with modern packages and workflows, a resource for testing online packages can be very useful. R Consortium... The post Better Understanding Your Tools Choices with Online Book HTTP Testing in R appeared first on R Consortium. Continue reading: Better Understanding Your Tools Choices with Online Book HTTP Testing in R http://dlvr.it/Sp5KwP

Working with Dates and Times Pt 2: Finding the Next Mothers Day with Simplicity

Introduction Mother’s Day is a special occasion to honor and appreciate the incredible women in our lives. As programmers, we can use our coding skills to make our lives easier when it comes to important dates like Mother’s Day. In this blog pos... Continue reading: Working with Dates and Times Pt 2: Finding the Next Mothers Day with Simplicity http://dlvr.it/Sp54b9

Model Misspecification and Linear Sandwiches

صورة
Introduction Traditional linear models, such as the output of the R function lm(), are often loaded with a set of strong assumptions. Take univariate regression: \[ Y = q+mX+\varepsilon. (\#eq:lm) \] This equation assumes that: The conditional mean... Continue reading: Model Misspecification and Linear Sandwiches http://dlvr.it/Sp2JMf

Tooltips for a dropdown list in Shiny

صورة
Here is how to have some tooltips for the options and their headers of a selectizeInput in Shiny. library(shiny) ui Continue reading: Tooltips for a dropdown list in Shiny http://dlvr.it/Sp0yg3

Replace missing value from other columns using coalesce join in dplyr

The original coalesce function When cleaning and aggregating data using dplyr package in R, coalesce() is extremely handy to replace the NA value with values from other columns. A simple example How does coalesce() work originally? Below is a s... Continue reading: Replace missing value from other columns using coalesce join in dplyr http://dlvr.it/Snyyhr

rOpenSci Champions Program Teams: Meet Victor Ordu and Laura DeCicco

We designed the rOpenSci Champions Program with a mentorship aspect. Mentoring plays a significant role in the growth and development of both mentors and mentees alike. In our program, each Champion has a mentor who accompanies them during their train... Continue reading: rOpenSci Champions Program Teams: Meet Victor Ordu and Laura DeCicco http://dlvr.it/SnwFHx

rOpenSci Champions Program Teams: Meet Haydee Svab and Beatriz Milz

We designed the rOpenSci Champions Program with a mentorship aspect. Mentoring plays a significant role in the growth and development of both mentors and mentees alike. In our program, each Champion has a mentor who accompanies them during their train... Continue reading: rOpenSci Champions Program Teams: Meet Haydee Svab and Beatriz Milz http://dlvr.it/SnsLJ7

Why you should consider working on a dockerized development environment

صورة
Last year I wrote a post about dockerizing {targets}’s pipelines (link to post) and between that blog post and this one, I’ve written a whole book on building reproducible analytical pipelines that you can read here (for free!). In the book I explain how you can build projects ... Continue reading: Why you should consider working on a dockerized development environment http://dlvr.it/SnpQK0

swephR v0.3.1

This morning swephR version 0.3.1 made it unto CRAN and is now propagating to the mirrors. The goal of swephR is to provide an R interface to the Swiss Ephemeris (SE), a high precision ephemeris based upon the DE431 ephemeris from NASA’s JPL. It ... Continue reading: swephR v0.3.1 http://dlvr.it/SnlQwd

Color vision deficiency emulation fixed in colorspace 2.1-0

The color vision deficiency emulation provided by R package colorspace was inaccurate for some highly-saturated colors due to a bug that was fixed in version 2.1-0. The (typically small) differences are illustrated for a range of palettes. ... Continue reading: Color vision deficiency emulation fixed in colorspace 2.1-0 http://dlvr.it/SnlQmq

5 new books added to Big Book of R

7 May 2023 Thanks to Niels Ohlsen for for helping me add the books, and to Adejumo Ridwan Suleiman and Mokandil for their submissions. If you’d like to support the Big Book of R financially, you’re welcome to leave a donation at my Kofi account. Thank you very much to … ... Continue reading: 5 new books added to Big Book of R http://dlvr.it/SnhYmd

2023-01 Rendering Typeset Glyphs in R Graphics

This document describes a new feature in the R graphics engine to support rendering typeset glyphs. This provides a basis for developing improved text rendering ... Continue reading: 2023-01 Rendering Typeset Glyphs in R Graphics http://dlvr.it/SnfTJB

EDA with CISSM

صورة
Introduction Exploratory data analysis (EDA) is a mission critical task underpinning the predominance of detection development and preparation for cybersecurity-centric machine learning. There are a number of actions that analysts can take to better understand a particular data set and ready it for more robust utilization. In the spirit of ... Continue reading: EDA with CISSM http://dlvr.it/SncS53

Is The Ratio of Normal Variables Normal?

صورة
In Trustworthy Online Controller Experiments I came across this quote, referring to a ratio metric $M = \frac{X}{Y}$, which states that: Because $X$ and $Y$ are jointly bivariate normal in the limit, $M$, as the ratio of the two averages, is also normally distributed. That’s only partially true. ... Continue reading: Is The Ratio of Normal Variables Normal? http://dlvr.it/SnYmRL

The Counter Intelligence Of The US’s Counter Intelligence Apparatus

The Counter Intelligence Of The US’s Counter Intelligence Apparatus Continue reading: The Counter Intelligence Of The US’s Counter Intelligence Apparatus http://dlvr.it/SnVsnb

rpaleoclim v1.0.0: paleoclimate data in R

صورة
PaleoClim (Brown et al. 2018, Scientific Data) is a set of high-resolution paleoclimate surfaces covering the whole world. The data is derived from HadCM3, one of the major ‘general circulation models’ that is used to forecast climate change, turned backwards to ‘predict’ conditions for key climate periods in the past. This ... Continue reading: rpaleoclim v1.0.0: paleoclimate data in R http://dlvr.it/SnRvbY

Sentiment Analysis Using Google Translate (Pt. 4 – A Painful Sight)

صورة
Introduction Many of us in the U.S. have been surprised by the indifference many in less developed countries have shown about the Ukraine war. There has been much talk lately about how the “Global South” is feeling slighted by the rich countries ... Continue reading: Sentiment Analysis Using Google Translate (Pt. 4 – A Painful Sight) http://dlvr.it/SnNy6n

The Perfect Setup for Ubuntu and R (and how to install/update RStudio with apt install rstudio/apt update)

About Install R packages as you would do on Windows (i.e., no long compilation time). In addition, this script asks to install R development tools, Git and RStudio. Motivation Just to save time for my future self. Hopefully, it can help people in... Continue reading: The Perfect Setup for Ubuntu and R (and how to install/update RStudio with apt install rstudio/apt update) http://dlvr.it/SnLKWL