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...]

Webinar – Data Science in Production

May 25, 2021 | eoda GmbH

The Way to a Centralized Infrastructure  Online | June 16, 2021 | 4-6 pm CEST | Register now for free In order to exploit the full potential of data science, a proper IT infrastructure is required which meets the high demands for agility, performance and maintenance. Even more: The right infrastructure promotes collaboration and company-wide ...
[Read more...]

Replace fitPlot() with ggplot

May 24, 2021 | fishR Blog

Introduction We are deprecating fitPlot() from the next version of FSA (v0.9.0). It will likely be removed at the end of the year 2001. We are taking this action to make FSA more focused on fisheries applications and to eliminate “black box... [Read more...]

Changes in Apple Health Export

May 24, 2021 | R on Can I Blog Too

Resting Heart Rate How does the Apple Watch measure resting heart rate? VO2 Max What Happened to My Million Rows of Data? How Do We Know What the Health Measures Actually Measure? Appendix: Some of the R Code Used to Make This Post R Code for the ggplot2 Figures Removing ...
[Read more...]

The new R pipe

May 24, 2021 | Code R

R 4.1.0 is out! And if version 4.0.0 made history with the revolutionary change of stringAsFactors = FALSE, the big splashing news in this next version is the implementation of a native pipe. The new pipe The “pipe” is one of the most distinctive qualities of tidyverse/dplyr code. I’m sure you’... [Read more...]
1 43 44 45 46 47 1,869