May 2021

Using {pagedown} in Docker

May 27, 2021 | R | datawookie

I’m building an automated reporting system which generates PDF reports. My approach is to use R Markdown to write the report and render to PDF using the excellent {pagedown} package. Ultimately the system needs to be packaged in Docker and deployed...
[Read more...]

Understanding Logistic Regression

May 27, 2021 | sang-heon lee

This post explains the logistic regression and implements R code for the estimation of its parameters. Logistic Regression Logistic Regression is a benchmark machine learning model. This model have a binary response variable (\(Y\)) which takes on 0 or 1. We can find lots of this kind of variables, among them are ...
[Read more...]

Learning R: Creating Truth Tables

May 27, 2021 | Learning Machines

A short one for today: in this post we will learn how to easily create truth tables with R and will contribute our code to the growing repository of Rosetta code. I hope that you will learn a few tricks along the way, so read on! We have covered bits ... [Read more...]

datatable editor-DT package in R

May 27, 2021 | finnstats

In this tutorial we are going to discuss DT package from R. DT stands for data tables and datatable() is the main function of DT package. datatable() is completely different from data.table() function DT package is very easy to use and based on this package can filter, search export ...
[Read more...]

Small gotcha when using negative indexing

May 26, 2021 | kjytay

Negative indexing is a commonly used method in R to drop elements from a vector or rows/columns from a matrix that the user does not want. For example, the code below drops the third column from the matrix M: Now, … Continue reading → [Read more...]

Replace filterD()

May 25, 2021 | fishR Blog

We are deprecating filterD() from the next version of FSA (v0.9.0). It will likely be removed by the start of 2022. filterD() was an attempt to streamline the process of using filter() (from dplyr) followed by droplevels() to remove levels ... [Read more...]

A shiny interface to BatchGetSymbols

May 25, 2021 | R | msperlin

Hadley Wickham recently released an online version of Mastering Shiny. The book is great! If you haven’t read it, do it fast! On a side note, it is really amazing how much of good and curated content you can get for free in R. When I started progra... [Read more...]

Introducing cvwrapr for your cross-validation needs

May 25, 2021 | kjytay

TLDR: I’ve written an R package, cvwrapr, that helps users to cross-validate hyperparameters. The code base is largely extracted from the glmnet package. The R package is available for download from Github, and contains two vignettes which demonstrate how to … Continue reading →
[Read more...]

Smith-Wilson Extrapolation with R code

May 25, 2021 | sang-heon lee

This post explains how to implement the Smith-Wilson extrapolation by which deterministic DNS shock scenarios are generated. Smith-Wilson Extrapolation Deterministic DNS shock scenarios under ICS (K-ICS) are the term structure of annually compounding spot rates which spans from 1-month to 1440-month (120-year) or longer. This is used to discount the ...
[Read more...]
1 2 3 4 10

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)