2019

Rename Columns | R

October 13, 2019 | Terry

Often data you’re working with has abstract column names, such as (x1, x2, x3…). Typically, the first step I take when renaming columns with r is...
[Read more...]

My First R Package (Part 3)

October 12, 2019 | Nicole Radziwill

After refactoring my programming so that it was only about 10 lines of code, using 12 functions I wrote an loaded in via the source command, I went through all the steps in Part 1 of this blog post and Part 2 of this blog post to set up the R package infrastructure using ...
[Read more...]

Hyper-Parameter Optimization of General Regression Neural Networks

October 12, 2019 | statcompute

A major advantage of General Regression Neural Networks (GRNN) over other types of neural networks is that there is only a single hyper-parameter, namely the sigma. In the previous post (https://statcompute.wordpress.com/2019/07/06/latin-hypercube-sampling-in-hyper-parameter-optimization), I’ve shown how to use the random search strategy to find a close-to-optimal value ...
[Read more...]

My First R Package (Part 2)

October 12, 2019 | Nicole Radziwill

In Part 1, I set up RStudio with usethis, and created my first Minimum Viable R Package (MVRP?) which was then pushed to Github to create a new repository. I added a README: Things were moving along just fine, until I got this unkind message (what do you mean NOT an ...
[Read more...]

My First R Package (Part 1)

October 12, 2019 | Nicole Radziwill

(What does this new package do? Find out here.) I have had package-o-phobia for years, and have skillfully resisted learning how to build a new R package. However, I do have a huge collection of scripts on my hard drive with functions in them, and I keep a bunch of ...
[Read more...]

Autumn Barnsley Fern

October 12, 2019 | exploRations in R

Intro I was playing around generating fractals in R when I realized the monochromatic green Barnsely Fern I had on my screen didn’t quite look like the leaves I could see outside my window. It was already Fall. In this post I describe a technique to generate a Barnsley ...
[Read more...]

Discover Offensive Programming

October 12, 2019 | Neonira

Package wyz.code.offensiveProgramming version 1.1.12 is available on CRAN. If you are interested in reducing time and efforts to implement and debug R code, to generate R documentation, to generate test code, then you may consider using this package...
[Read more...]

Cluster multiple time series using K-means

October 12, 2019 | Econometrics and Free Software

I have been recently confronted to the issue of finding similarities among time-series and though about using k-means to cluster them. To illustrate the method, I’ll be using data from the Penn World Tables, readily available in R (inside the {pwt9} package):
library(tidyverse)
library(lubridate)
library(pwt9)
library(brotools)
First, of all, let’s only ... [Read more...]

Attribution modelling in R

October 12, 2019 | Niklas Kolster

Attribution modelling in R an example Here I am going into some examples in attribution modelling in R. It is a complex topic and much more can be said about it than I will be able to do here. I will here go hands on mostly into the markov model ...
[Read more...]

GitHub Streak: Round Six

October 12, 2019 | Thinking inside the box

Five ago I referenced the Seinfeld Streak used in an earlier post of regular updates to to the Rcpp Gallery: This is sometimes called Jerry Seinfeld’s secret to productivity: Just keep at it. Don’t break the streak. and then showed the first ch... [Read more...]

GitHub Streak: Round Six

October 12, 2019 | Thinking inside the box

Five ago I referenced the Seinfeld Streak used in an earlier post of regular updates to to the Rcpp Gallery: This is sometimes called Jerry Seinfeld’s secret to productivity: Just keep at it. Don’t break the streak. and then showed the first ch... [Read more...]

Loading packages efficiently

October 11, 2019 | kaijagahm

Problem Especially in a project with many different scripts, it can be challenging to keep track of all the packages you need to load. It’s also easy to lose track of whether or not you’ve incorporated package loading into the script itself until you switch to a new ...
[Read more...]

Help support GetDFPData

October 11, 2019 | R on msperlin

The shiny version of GetDFPData is currently hosted in a private server at DigitalOcean. A problem with the basic (5 USD) server I was using is with the low amount of available memory (RAM and HD). With that, I had to limit all xlsx queries for the ... [Read more...]
1 28 29 30 31 32 155

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)