April 2017

scheduling scripts

April 23, 2017 | R on Know Your Data

In most cases, you’ll write a R script that pulls data, manipulates it and dumps the output to a database or you’ll create a beautiful report in rmarkdown. Suppose you want to run this script or report every day, week, day, etc. Well, there are a few possibilities ... [Read more...]

Experimental Design Exercises

April 23, 2017 | Miodrag Sljukic

In this set of exercises we shall follow the practice of conducting an experimental study. Researcher wants to see if there is any influence of working-out on body mass. Three groups of subjects with similar food and sport habits were included in the experiment. Each group was subjected to a ... [Read more...]

The Curious Behavior of diffseries()

April 23, 2017 | cleschinski

This is the story of a subtle error that, to my opinion, is a nice example of the special challenges of statistical programming. One of my main research interests is time series with long memory. These are often modeled by fractionally integrated models, where Here is the time series, is ...
[Read more...]

Using R: a function that adds multiple ggplot2 layers

April 23, 2017 | mrtnj

Another interesting thing that an R course participant identified: Sometimes one wants to make a function that returns multiple layers to be added to a ggplot2 plot. One could think that just adding them and returning would work, but it doesn’t. I think it has to do with how + ...
[Read more...]

Using R as a GIS

April 22, 2017 | realdataweb

In real estate, spatial data is the name of the game. Countless other domains utilize the power of this data, which is becoming more prevalent by the day. In this post I will go over a few simple, but powerful tools to get you started using using geographic information in ...
[Read more...]

Shuttering Pies With Retiring Stores

April 21, 2017 | hrbrmstr

I caught this “gem” in the Wall Street Journal tonight: It’s pretty hard to compare store-to-store, even though it is fairly clear which ones are going-going-gone. If we want to see the relative percentage of each store closing and also want to see how they stack up against each ...
[Read more...]

Programming over R

April 21, 2017 | John Mount

R is a very fluid language amenable to meta-programming, or alterations of the language itself. This has allowed the late user-driven introduction of a number of powerful features such as magrittr pipes, the foreach system, futures, data.table, and dplyr. Please read on for some small meta-programming effects we have ...
[Read more...]

R Weekly Bulletin Vol – V

April 21, 2017 | R programming

This week’s R bulletin will cover topics like how to avoid for-loops, add or shorten an existing vector, and play a beep sound in R. We will also cover functions like env.new function, readSeries, and the with and within functions. Hope you like this R weekly bulletin. Enjoy ...
[Read more...]
1 3 4 5 6 7 16

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)