المشاركات

عرض المشاركات من سبتمبر, 2021

An RStudio Table Contest for 2021

صورة
The RStudio Table Contest: 2021 Edition We love tables here at RStudio. They serve as a fantastic means to communicate information both quantitative and qualitative. We really saw that in the 2020 Table Contest, where the entries were p... Continue reading: An RStudio Table Contest for 2021 http://dlvr.it/S8hZv5

error: JAVA_HOME cannot be determined from the Registry

صورة
error: JAVA_HOME cannot be determined from the Registry, This error notice happens most frequently when we try to load the xlsx package. Approach 1: error: JAVA_HOME cannot be determined from the Registry The error... The post error: JAVA_HOME cannot be determined from the Registry appeared first on finnstats. Continue reading: error: JAVA_HOME cannot be determined from the Registry http://dlvr.it/S8gHdD

Competition to win free training closes today

To celebrate EARL taking place this September we launched a competition to win a free online training course and the... The post Competition to win free training closes today appeared first on Mango Solutions. Continue reading: Competition to win free training closes today http://dlvr.it/S8fgQB

rOpenSci News Digest, September 2021

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 A first package was submitted to rOpenSci Statistical So... Continue reading: rOpenSci News Digest, September 2021 http://dlvr.it/S8fgMy

F1 Strategy Analysis

صورة
I was recently browsing reddit and found this AMA from a former mercedes strategy engineer The most surprising thing was that most of the race strategy was calculated using VBA in excel. This isn’t some start up outfit this is the mighty Mercedes winners of the last 7 constructors and ... Continue reading: F1 Strategy Analysis http://dlvr.it/S8d677

Multiclass predictive modeling for #TidyTuesday NBER papers

صورة
This is the latest in my series of screencasts demonstrating how to use the tidymodels packages, from just getting started to tuning more complex models. Today’s screencast walks through how to build, tune, and evaluate a multiclass predictive model ... Continue reading: Multiclass predictive modeling for #TidyTuesday NBER papers http://dlvr.it/S8cmzr

Decorators in R

صورة
Decorators have been made quite popular by Python but, did you know they also exist in R?Photo by Lenny Kuhne on UnsplashDecorators are typically used to extend the behaviour of a function in an elegant and minimally invasive way. Graphically, we can t... Continue reading: Decorators in R http://dlvr.it/S8bR73

Error in as.Date.numeric(13131) : ‘origin’ must be supplied

صورة
Error in as.Date.numeric(13131) : ‘origin’ must be supplied, This article will show you how to handle the error message in as. Date.numeric(X). Approach 1: Error in as.Date.numeric(13131) : ‘origin’ must be supplied This example... The post Error in as.Date.numeric(13131) : ‘origin’ must be supplied appeared first ... Continue reading: Error in as.Date.numeric(13131) : ‘origin’ must be supplied http://dlvr.it/S8Zrvp

How to Remove Outliers in R

صورة
How to Remove Outliers in R?, What does outlier mean? It’s an observation that differs significantly from the rest of the data set’s values. Outliers can skew the results by providing false information. We’ll... The post How to Remove Outliers in R appeared first on finnstats. Continue reading: How to Remove Outliers in R http://dlvr.it/S8Zrvj

Creating a Dataset from an Image in R Markdown using reticulate

A recreation of a dataset using {reticulate}. Continue reading: Creating a Dataset from an Image in R Markdown using reticulate http://dlvr.it/S8XyMx

The Story Behind rspatialdata

صورة
As two postgrad students on summer vacation but with no travel plans (during this global pandemic of course), we took up an internship at King Abdullah University of Science and Technology (KAUST) last summer and ended up collaborating on a really coo... Continue reading: The Story Behind rspatialdata http://dlvr.it/S8XctP

What’s New on RStudio Cloud – September 2021

Whether you want to do, share, teach, or learn data science, RStudio Cloud is a cloud-based solution that allows you to do so online. The RStudio Cloud team has rolled out new features and improvements since our last post in May 20... Continue reading: What’s New on RStudio Cloud – September 2021 http://dlvr.it/S8WfV9

R Numbers

Numbers in R can be divided into 3 different categories: Numeric: It represents both whole and floating-point numbers. For example, 123, 32.43, etc. Integer: It represents only whole numbers and is denoted by L. For example, 23L, 39L, etc. Compl... Continue reading: R Numbers http://dlvr.it/S8W2Y1

Analyzing a factorial design by focusing on the variance of effect sizes

صورة
Way back in 2018, long before the pandemic, I described a soon-to-be implemented simstudy function genMultiFac that facilitates the generation of multi-factorial study data. I followed up that post with a description of how we can use these types of efficient designs to answer multiple questions in the context of a ... Continue reading: Analyzing a factorial design by focusing on the variance of effect sizes http://dlvr.it/S8W2W4

Understanding the Parquet file format

صورة
Apache Parquet is a popular column storage file format used by Hadoop systems, such as Pig, Spark, and Hive. The file format is language independent and has a binary representation. Parquet is used to efficiently store large data sets and has the extension .parquet. This blog post aims to understand ... Continue reading: Understanding the Parquet file format http://dlvr.it/S8T7wT

August 2021: “Top 40” New CRAN Packages

صورة
One hundred sixty new packages covering a wide array of topics made it to CRAN in August. I thought I would emphasize the breadth of topics by expanding the number of categories organizing my “Top 40” selections beyond core categories that appear month after month. Here are my picks in fourteen ... Continue reading: August 2021: “Top 40” New CRAN Packages http://dlvr.it/S8Slkg

Post election update: Will the German parliament have a gigantic size?

This is just a short update to my previous post. Bundestag elections are over and according to the preliminary official results the new Bundestag will have 735 members. That’s 32 more than the previous 703 members, but at least far from 841 members pre... Continue reading: Post election update: Will the German parliament have a gigantic size? http://dlvr.it/S8RmWb

R Booleans (Comparison and Logical Operators)

In R, boolean variables can take only 2 values - TRUE and FALSE. For example, # declare boolean x Continue reading: R Booleans (Comparison and Logical Operators) http://dlvr.it/S8R8M8

R Data Types

A data type of a variable specifies the type of data that is stored inside that variable. For example, x Continue reading: R Data Types http://dlvr.it/S8R8K8

A Simple ALM Cash Flow Matching using Excel and R

صورة
This post implements a simple asset-liability cash flow matching using Excel and R. This example is a linear programming (LP) model but will serve as a foundation for the advanced ALM modeling techniques such as two-stage or multi-stage stochastic l... Continue reading: A Simple ALM Cash Flow Matching using Excel and R http://dlvr.it/S8Nz5v

Error in x[6, ]: subscript out of bounds

Subscript out of bounds, Subscript out of limits in R: How to Fix? The following is an example of a typical R error: Error in x[6, ] : subscript out of bounds When you try to access a column or row in a matrix that doesn’t exist, you&#8... Continue reading: Error in x[6, ]: subscript out of bounds http://dlvr.it/S8JZK7

How to Set Axis Limits in ggplot2?

صورة
How to Set Axis Limits in ggplot2? Setting the axis bounds on a plot using ggplot2 is a common task. Using the following functions, you can accomplish so quickly. xlim(): specifies the lower and upper limit of the x-axis. ylim(): specifies the l... Continue reading: How to Set Axis Limits in ggplot2? http://dlvr.it/S8JZGc

How to Set Axis Limits in ggplot2?

صورة
How to Set Axis Limits in ggplot2? Setting the axis bounds on a plot using ggplot2 is a common task. Using the following functions, you can accomplish so quickly. The post How to Set Axis Limits in ggplot2? appeared first on finnstats. Continue reading: How to Set Axis Limits in ggplot2? http://dlvr.it/S8HRWq

Error in x[6, ]: subscript out of bounds

subscript out of bounds, Subscript out of limits in R: How to Fix? The following is an example of a typical R error: Error in x[6, ] : subscript out of bounds When you try to access a column or row in a matrix that doesn't exist, you'll get this error. The ... Continue reading: Error in x[6, ]: subscript out of bounds http://dlvr.it/S8GV3Z

EARL ONLINE 2021: HIGHLIGHTS

صورة
Originally posted on Mango Solutions website The Enterprise Applications of the R Language Conference (EARL) is a cross-sector conference focusing on the commercial use of the R programming language. The... The post EARL ONLINE 2021: HIGHLIGHTS appeared first on R Consortium. Continue reading: EARL ONLINE 2021: HIGHLIGHTS http://dlvr.it/S8DzSW

Easy Rolling Means with MazamaRollUtils

صورة
Our goal in creating a new package of C++ rolling functions is to build up a suite of functions useful in environmental time series analysis. We want these functions to be available in a neutral environment with no underlying data model. The functions are as straightforward to use as is ... Continue reading: Easy Rolling Means with MazamaRollUtils http://dlvr.it/S89Kjc

Creating a data pipeline with Github Actions & the {googledrive} package for the Canadian Premier League soccer data initiative!

صورة
In analytics for any particular field, it’s not enough to be able to create output (fancy charts, dashboards, reports, etc.) but also be able to collect the data you want to use in a easy, reproducible, and most importantly, consi... Continue reading: Creating a data pipeline with Github Actions & the {googledrive} package for the Canadian Premier League soccer data initiative! http://dlvr.it/S89KfD

{emayili} Styling Figures

صورة
By default tags are wrapped in a tight embrace by {knitr}. In general this works really well. However, I want to have more control over image formatting for {emayili}. Adding a Hook I’d like to have the tags wrapped by . It’d also be useful to have the option ... Continue reading: {emayili} Styling Figures http://dlvr.it/S88fdt

Curating for @WeAreRLadies on Twitter

Photo by Arno Smit on Unsplash This is a guest post from Shannon Pileggi, an enthusiastic professional educator and statistical consultant with over ten years of experience collaborating on data analysis with diverse partners in industry, tech, public health, and clinical research. Find this post on Shannon’s website here. ... Continue reading: Curating for @WeAreRLadies on Twitter http://dlvr.it/S88fd0

How to Rotate Axis Labels in ggplot2?

صورة
How to Rotate Axis Labels in ggplot2?. Axis labels on graphs must occasionally be rotated. Let’s look at how to rotate the labels on the axes in a ggplot2 plot.  Let’s begin by creating a basic data frame and the plot. Rotate... Continue reading: How to Rotate Axis Labels in ggplot2? http://dlvr.it/S87WnG

R Print Output

R print() Function In R, we use the print() function to print any values and variables. For example, # print values print("R is fun") # print variables x Continue reading: R Print Output http://dlvr.it/S85KlN

Side-by-Side plots with ggplot2

صورة
How to Create Side-by-Side Plots in ggplot2?. Using the ggplot2 package in R, you can often construct two plots side by side. Fortunately, with the patchwork and gridExtra packages, this is simple to accomplish. Side-by-Side plots with ggplot2 ... Continue reading: Side-by-Side plots with ggplot2 http://dlvr.it/S84vmw

Labeling contour lines in R with ggplot2, metR and isoband

I started to use R full time for my research about 5 years ago when I started working on my Masters’ thesis and up until today there was one thing missing: proper contour labels. Now, thanks to the wonderful isoband package, I finally got what I wi... Continue reading: Labeling contour lines in R with ggplot2, metR and isoband http://dlvr.it/S83Fnf

How to Change Legend Position in ggplot2

صورة
he ggplot() call, ggplot2 will automatically construct a legend for your chart. The post How to Change Legend Position in ggplot2 appeared first on finnstats. Continue reading: How to Change Legend Position in ggplot2 http://dlvr.it/S81dmB

RStudio Workbench Load Balancing Changes

Photo by David Clode on Unsplash As we’re putting the finishing touches on the RStudio Workbench 09.01.0 “Ghost Orchid” release, we’d like to share one of the new sets of features we’re most excited ... Continue reading: RStudio Workbench Load Balancing Changes http://dlvr.it/S81DGj

ARIMA Method from {fable}: The Election is Coming for Turkey?

صورة
Nowadays, every journalist and intellectual talks about a probable early election in Turkey’s ongoing poor economic conditions. But, is it politically right decision to go early election before the officially announced 23 June 2023 in terms of ruling parties? In order to answer this question, we have to choose some variables ... Continue reading: ARIMA Method from {fable}: The Election is Coming for Turkey? http://dlvr.it/S7zXs8

Monotonic binning using XGBOOST

صورة
When developing credit risk scorecards, it is generally a good idea to discretise (bin) numeric variables in a manner that ensures monotonically increasing or decreasing event rates as the variable increases or decreases. While discretising individual variables adds stability to the model, monotonic bins ensure that the model output is ... Continue reading: Monotonic binning using XGBOOST http://dlvr.it/S7xxDQ

How to Change Legend Position in ggplot2

صورة
Change Legend Position in ggplot2, When a shape feature is mapped to a variable in the aes() component of the ggplot() call, ggplot2 will automatically construct a legend for your chart. Approach1: Legend outside Plot It is possible to put the l... Continue reading: How to Change Legend Position in ggplot2 http://dlvr.it/S7xXKJ

{emayili} R Markdown Parameters

صورة
I don’t frequently use parameters in R Markdown documents. So the initial implementation of render() in {emayili} did not cater for them. A small tweak makes it possible though. You can install the update from GitHub as follows. remotes::install_github("datawookie/emayili", ref = "v0.5.2") Then load the package. ... Continue reading: {emayili} R Markdown Parameters http://dlvr.it/S7vtjF

Machine Learning : Workflow

صورة
This post gives a brief introduction to a workflow of machine learning model and mostly used R packages before diving into the details. Given a problem to be solved, all machine learning (ML) models use the same input but different output. It is, ... Continue reading: Machine Learning : Workflow http://dlvr.it/S7sRJF

Notes on ‘Deep Work’

I have finally read the book Deep Work where he describes the reasons and methods for focussing on maximizing “deep” work over “shallow” work. From the popularity of this book and my own experience with some of the strategies ex... Continue reading: Notes on ‘Deep Work’ http://dlvr.it/S7rT0j

How to Change Background Color in ggplot2

صورة
When you change the background colors in ggplot, it will be more visually pleasing and attract more attention than the default ones. The post How to Change Background Color in ggplot2 appeared first on finnstats. Continue reading: How to Change Background Color in ggplot2 http://dlvr.it/S7rDfB

tsbox 0.3.1: extended functionality

صورة
The tsbox package provides a set of tools that are agnostic towards existing time series classes. The tools also allow you to handle time series as plain data frames, thus making it easy to deal with time series in a dplyr or data.table workflow. Continue reading: tsbox 0.3.1: extended functionality http://dlvr.it/S7q0NW

Fast and {furrr}-ious: real time economic monitoring using R

Mango’s ‘Meet-Up’ at Big Data London on 22nd September features guest speaker Adam Hughes, Data Scientist for The Bank of England,... The post Fast and {furrr}-ious: real time economic monitoring using R appeared first on Mango Solutions. Continue reading: Fast and {furrr}-ious: real time economic monitoring using R http://dlvr.it/S7nPs4

{emayili} Rendering R Markdown

صورة
In a previous post I documented a new feature in {emayili}, the ability to render Plain Markdown directly into the body of an email message. Today I’m announcing the release of a new minor version, 0.5.0, in which {emayili} is now able to render R Markdown into an email. This ... Continue reading: {emayili} Rendering R Markdown http://dlvr.it/S7mZJK

How to Identify Outliers-Grubbs’ Test in R

How to Identify Outliers, The Grubbs’ Technique is a statistical test that may be used to detect outliers in a dataset. A dataset should be generally normally distributed and have at least 7 observations to use this test. This article show... Continue reading: How to Identify Outliers-Grubbs’ Test in R http://dlvr.it/S7kyrN

The Advantages of Code-First Data Science

Photo by Christopher Gower on Unsplash RStudio has worked with hundreds of different data science teams, and we’ve seen three key strategies that help maximize their productivity and impact: Adopting open source as the ... Continue reading: The Advantages of Code-First Data Science http://dlvr.it/S7jvSg

How to Identify Outliers-Grubbs’ Test in R

How to Identify Outliers, The Grubbs’ Technique is a statistical test that may be used to detect outliers in a dataset. A dataset should be generally normally distributed and have at least 7 observations... The post How to Identify Outliers-Grubbs’ Test in R appeared first on finnstats. Continue reading: How to Identify Outliers-Grubbs’ Test in R http://dlvr.it/S7j0rb

Animating Network Evolutions with gganimate

صورة
People regularly ask me if it is possible to animate a network evolution with {{ggraph}} and {{gganimate}}. Unfortunately this is not yet possible. But fear not! There is a way to still get it done with some hacking around the ggraph package. In th... Continue reading: Animating Network Evolutions with gganimate http://dlvr.it/S7gMCW

Binomial Distribution in R-Quick Guide

صورة
Binomial Distribution in R, Binomial distribution was invented by  James Bernoulli which was posthumously published in 1713. Let n ( finite) Bernoulli trials be conducted with probability “p” of success and “q” of a failure. The probability of x... Continue reading: Binomial Distribution in R-Quick Guide http://dlvr.it/S7fHX0

Finding the Eras of MTV’s The Challenge Through Clustering

صورة
Since 1998, MTV’s The Challenge (formerly the Real World/Road Rules Challenge) has graced the airwaves where it is currently in Season 37. In a prior post I had mentioned that this is one of my guilty pleasure shows so this will likely not be the last post that is based ... Continue reading: Finding the Eras of MTV’s The Challenge Through Clustering http://dlvr.it/S7dPvD

Percent Change of Bond Price using Duration and Convexity in R

A percentage (%) change in a bond price with respect to a change in interest rate is approximated by using duration and convexity, which is based on the Talor approximation with the first and second order terms. We have calculated a bond duratio... Continue reading: Percent Change of Bond Price using Duration and Convexity in R http://dlvr.it/S7bkVf

How do you use Shiny to communicate to 8 million people?

صورة
Full GA Tech Spotlight Video on YouTube Data visualization is fundamentally an act of communication. While many discussions focus on the technical aspects of creating visualizations, communicating your insights in a clear, relevant and accessible way is essential. The Georgia Institute of Technology team shared some key lessons, based on ... Continue reading: How do you use Shiny to communicate to 8 million people? http://dlvr.it/S7ZclL

Grouped Data Mean and Standard Deviation Calculator

We want to determine the mean and standard deviation of ungrouped data in practically all circumstances. However, how can you do that with grouped data? Grouped Data Mean and Standard Deviation Let’s look at... The post Grouped Data Mean and Standard Deviation Calculator appeared first on finnstats. Continue reading: Grouped Data Mean and Standard Deviation Calculator http://dlvr.it/S7YjJt

Adding text labels to ggplot2 Bar Chart

صورة
Adding text labels to ggplot2, Is it possible to add text labels to a bar chart in a simple way? Yes, In this article, you’ll learn how to add a frequency count to each... The post Adding text labels to ggplot2 Bar Chart appeared first on finnstats. Continue reading: Adding text labels to ggplot2 Bar Chart http://dlvr.it/S7X35s

Why I’m Excited to Join RStudio, Told Through a {blogdown} Metadata Project

I joined RStudio to contribute to their blog, and the first thing I did was use R to pull metadata from the blog. Continue reading: Why I’m Excited to Join RStudio, Told Through a {blogdown} Metadata Project http://dlvr.it/S7VZ1G

How to Use System Commands in your R Script or Package

Have you ever found a command-line tool that’s perfect for getting your job done, and wanted to use it from an R script or package? E.g. some sort of scientific software providing a specific functionality made available though a command-line int... Continue reading: How to Use System Commands in your R Script or Package http://dlvr.it/S7V4z3

Little useless-useful R functions – Useless Year Progress bar with spinning cursor

صورة
Progress bar showing the number of days until end of the year. Yes, only based on the days and not hour. And needless to say, the progress is soothing using ASCII charts. So the function is fair to say, simple…Read more › Continue reading: Little useless-useful R functions – Useless Year Progress bar with spinning cursor http://dlvr.it/S7SSd6

Another 9 R books added to BigBookofR

The collection of R books at BigBookofR continues to grow! Thanks to @erictleaungu , @StanLazic, @rohmanoabdur, @preposterior, @lago67522285 and @lfvasconcelos_ for their contributions. Computing for the social sciences By Dr. Benjamin Soltoff The goal of this course is to teach you basic computational skills and provideyou with the means to … The ... Continue reading: Another 9 R books added to BigBookofR http://dlvr.it/S7QVQ6

Examination of the K-Means Broken-Line Method

صورة
I recently encountered a 2018 paper called “The next-generation \(k\)-means algorithm”. It proposes and compiles advancements and theoretical justifications for \(k\)-means and \(k\)-medians clustering. One part that caught my eye was the p... Continue reading: Examination of the K-Means Broken-Line Method http://dlvr.it/S7PYRH

Bond Convexity in Excel and R

صورة
Bond duration is the first order linear approximation and thus does not consider a non-linearity. Making up for this shortcoming of the duration, a convexity is needed to describe the non-linearity of a bond price. This post explains the meaning and c... Continue reading: Bond Convexity in Excel and R http://dlvr.it/S7PK6G

Video tutorial on the essentials of R for ecology cheatsheet

صورة
Hey everyone! I just finished putting together a video tutorial that goes over my Essential Functions of R (for ecology) Cheatsheet. I decided to create a separate post here because some of you were asking for an easy walk-through of the functions on the cheatsheet and I think that merits ... Continue reading: Video tutorial on the essentials of R for ecology cheatsheet http://dlvr.it/S7L37z

{emayili} Rendering Plain Markdown

صورة
We’ve been able to attach text and HTML content to messages with {emayili}. But something that I’ve really been wanting to do is render markdown directly into an email. In version 0.4.19 I’ve added the ability to directly render plain markdown into a message. library(emayili) The render() ... Continue reading: {emayili} Rendering Plain Markdown http://dlvr.it/S7JRgR

A Guide to Binge Watching R / Medicine 2021

صورة
R / Medicine is a big deal. This year, the conference grew by 13% with 665 people from over 60 countries signing up for the virtual event which was held last month. 34% percent of the registrants were from outside of the United States and 17% identified as physicians. The conference is now an established international ... Continue reading: A Guide to Binge Watching R / Medicine 2021 http://dlvr.it/S7H9Wq

{clockify} Time Tracking from R

صورة
At Fathom Data we use Clockify to keep detailed records of the time that we spend working on our clients’ projects. Up until fairly recently we manually generated timesheets at the end of each month that were sent through to the clients along with their invoices. Our experience has been ... Continue reading: {clockify} Time Tracking from R http://dlvr.it/S7FP7k

Gold-Mining Week 1 (2021)

Week 1 Gold Mining and Fantasy Football Projection Roundup now available. The post Gold-Mining Week 1 (2021) appeared first on Fantasy Football Analytics. Continue reading: Gold-Mining Week 1 (2021) http://dlvr.it/S7C853

Are my (bio)pharmaceutical assay performances reliable? Only probability of success counts !

صورة
Are my (bio)pharmaceutical assay performances reliable? Only probability of success counts!Alternative to traditional Gage R&R metrics for the pharmaceutical industryBy Thomas de Marchin (Senior Manager Statistics and Data Sciences at Pharmalex), L... Continue reading: Are my (bio)pharmaceutical assay performances reliable? Only probability of success counts ! http://dlvr.it/S7C81L

The Four Pipes of magrittr

صورة
The magrittr package is a part of the extended tidyverse – i.e., not one of the ones normally loaded. It is the one that supplies the pipe operator (%__%), but it turns out that the package actually contains four pipe operators in total. All ar... Continue reading: The Four Pipes of magrittr http://dlvr.it/S79hTC

Simulation Smoother using RcppArmadillo

Simulation smoothing involves drawing latent state variables in discrete-time state–space models from their conditional distribution given parameters and data as defined by McCausland, Miller, & Pelletier (2011). This tool greatly facilitates Bayes... Continue reading: Simulation Smoother using RcppArmadillo http://dlvr.it/S77RmT

An Integrated Method for Estimation and Optimisation

My PhD student, Congzheng Liu (co-supervised with Adam Letchford) has written a paper, entitled “Newsvendor Problems: An Integrated Method for Estimation and Optimisation“. This paper has recently been published in EJOR. In this paper we build upon the existing Ban & Rudin (2019) approach for newsvendor problem, showing that in case of ... Continue reading: An Integrated Method for Estimation and Optimisation http://dlvr.it/S77Rkj

The Pólya Urn Model: A simple Simulation of “The Rich get Richer”

صورة
What is the “opposite” of sampling without replacement? In a classical urn model sampling without replacement means that you don’t replace the ball that you have drawn. Therefore the probability of drawing that colour becomes smaller. How about the opposite, i.e. that the probability becomes bigger? Then you ... Continue reading: The Pólya Urn Model: A simple Simulation of “The Rich get Richer” http://dlvr.it/S7628P

Geocomputation with R: Second Edition feedback

TL;DR: Please help us by filling out the survey at https://forms.gle/nq9RmbxJyZXQgc948. It’s been almost 3 years since the first edition of Geocomputation with R was published back in 2019. It’s been an amazing journey for this open source book on ... Continue reading: Geocomputation with R: Second Edition feedback http://dlvr.it/S7374f

Testing rounded data for a circular uniform distribution

صورة
Circular statistics deals with analysis of measurements made using a circular scale, e.g., minutes past the hour, days of the week. Wikipedia uses the term directional statistics, the traditional use being measurements of angles, e.g., wind direction. Package support for circular statistics is rather thin on the ground. ... Continue reading: Testing rounded data for a circular uniform distribution http://dlvr.it/S71dbC

Speedrunning row-oriented workflows

صورة
If you haven’t, you should read this first. This is part two. Speedrunning is the… hrm… - sport? art? - of playing games from start to finish as fast as possible. Speedrunning requires an insane amount of knowledge of the game being played, as well as an enourmous amount ... Continue reading: Speedrunning row-oriented workflows http://dlvr.it/S70gHT

Pre-Commit Hook for Processing README.Rmd

صورة
When writing an R package I usually write a README.Rmd file that I render to README.md. I use {pkgdown} to then create documentation. I run the last step via CI, so I never need to think about it. The problem is that I regularly forget to process the ... Continue reading: Pre-Commit Hook for Processing README.Rmd http://dlvr.it/S700VL

Climate circles

صورة
The climate of a place is usually presented through climographs that combine monthly precipitation and temperature in a single chart. However, it is also interesting to visualize the climate on a daily scale showing the thermal amplitude and the daily average temperature. To do this, the averages for each day ... Continue reading: Climate circles http://dlvr.it/S6yCpP

The quest for fast(er?) row-oriented workflows

صورة
The past few weeks I have been exploring the speed of R. It started with this video in which I explained that R is not necessarily slower than any other interpreted language, as long as you’re using the built-in, optimized functions. However should you write your own implementation of ... Continue reading: The quest for fast(er?) row-oriented workflows http://dlvr.it/S6yCnZ

Sample Size Calculation and Power Clinical Trials

Sample Size Calculation and Power, One of the most important stages in the planning of clinical trials is the estimation of sample size. This post discusses the significance of sample size calculation and power,... The post Sample Size Calc... Continue reading: Sample Size Calculation and Power Clinical Trials http://dlvr.it/S6xCq0

A technical interview question

How would you answer this question? How would you want others to answer this question? Continue reading: A technical interview question http://dlvr.it/S6vfJZ

Bond Modified Duration in R

صورة
Bond duration is a basic building block for bond portfolio management and asset-liability management (ALM). This post explains the meaning of duration and calculation of this risk measures by using Excel and R. Instead of using another full-fledged ... Continue reading: Bond Modified Duration in R http://dlvr.it/S6vfH9