Category: R
Scripting for data analysis (with R)
Feed: R-bloggers. Author: mrtnj. Course materials (GitHub) This was a PhD course given in the spring of 2017 at Linköping University. The course was organised by the graduate school Forum scientium and was aimed at people who might be interested in using R for data analysis. The materials developed from a part of a previous PhD course from a couple of years ago, an R tutorial given as part of the Behaviour genetics Masters course, and the Wright lab computation lunches. Around twenty people attended the seminars, and a couple of handfuls of people completed the homeworks. I don’t know ... Read More
Memorable dataviz with the R program, talk awarded people’s choice prize

Feed: R-bloggers. Author: Bluecology blog. “Memorable dataviz with the R program” awarded people’s choice prize For the past two years Dr Nick Hamilton has invited me to give a talk on creating data visuals with the R program at the wonderful UQ Winterschool inBioinformatics. This year I was lucky enough to be awarded a prize for my talk – best speaker from a mid-career presenter, as voted by the audience. Nick and the UQ Winterschool team have been kind enough to post my talk on Vimeo, so I am sharing it here in the hope that others find it useful ... Read More
Understanding Overhead Issues in Parallel Computation
Feed: R-bloggers. Author: matloff. In my talk at useR! earlier this month, I emphasized the fact that a major impediment to obtaining good speed from parallelizing an algorithm is systems overhead of various kinds, including: Contention for memory/network. Bandwidth limits — CPU/memory, CPU/network, CPU/GPU. Cache coherency problems. Contention for I/O ports. OS and/or R limits on number of sockets (network connections). Serialization. During the Q&A at the end, one person in the audience asked how R programmers without a computer science background might acquire this information. A similar question was posed here today by a reader on this blog, to ... Read More
Forecasting workshop in Perth

Feed: R-bloggers. Author: R on Rob J Hyndman. On 26-28 September 2017, I will be running my 3-day workshop in Perth on “Forecasting: principles and practice” based on my book of the same name.Topics to be covered include seasonality and trends, exponential smoothing, ARIMA modelling, dynamic regression and state space models, as well as forecast accuracy methods and forecast evaluation techniques such as cross-validation.Workshop participants are expected to be familiar with basic statistical tools such as multiple regression, but no knowledge of time series or forecasting will be assumed. Related To leave a comment for the author, please follow the ... Read More
Updated overbought/oversold plot function
Feed: R-bloggers. Author: Thinking inside the box. A good six years ago I blogged about plotOBOS() which charts a moving average (from one of several available variants) along with shaded standard deviation bands. That post has a bit more background on the why/how and motivation, but as a teaser here is the resulting chart of the SP500 index (with ticker ^GSCP): The code uses a few standard finance packages for R (with most of them maintained by Joshua Ulrich given that Jeff Ryan, who co-wrote chunks of these, is effectively retired from public life). Among these, xts had a ... Read More
More documentation for Win-Vector R packages
Feed: R-bloggers. Author: John Mount. The Win-Vector public R packages now all have new pkgdown documentation sites! (And, a thank-you to Hadley Wickham for developing the pkgdown tool.) Please check them out (hint: vtreat is our favorite). The package sites: For more on all of these packages, please see the Win-Vector blog. Related To leave a comment for the author, please follow the link and comment on their blog: R – Win-Vector Blog. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, ... Read More
R Markdown exercises part 1
Feed: R-bloggers. Author: Euthymios Kasvikis. INTRODUCTION R Markdown is one of the most popular data science tools and is used to save and execute code, create exceptional reports whice are easily shareable. The documents that R Markdown provides are fully reproducible and support a wide variety of static and dynamic output formats. Using markdown syntax, which provides an easy way of creating documents that can be converted to many other file types, while embeding R code in the report, so it is not necessary to keep the report and R script separately. Furthermore The report is written as normal text, ... Read More
Joy Plot of Length Frequencies
Feed: R-bloggers. Author: fishR Blog. There has been a bit of a buzz recently about so-called “joyplots.” Wilke described joyplots as “partially overlapping line plots that create the impression of a mountain range.” I would describe them as partially overlapping density plots (akin to a smoothed histogram). Examples of joyplots are here, here, and here (from among many). I thought that joyplots might provide a nice visualization of length frequencies over time. For example, we have a paper forthcoming in the North American Journal of Fisheries Management that examines (among other things) the lengths of Kiyi (Coregonus kiyi) captured in ... Read More
Learn parallel programming in R with these exercises for “foreach”

Feed: R-bloggers. Author: David Smith. The foreach package provides a simple looping construct for R: the foreach function, which you may be familiar with from other languages like Javascript or C#. It's basically a function-based version of a "for" loop. But what makes foreach useful isn't iteration: it's the way it makes it easy to run those iterations in parallel, and save time on multi-CPU and distributed systems. If you want to get familiar with the foreach function, Parallelizing Loops at Microsoft Docs will introduce you to foreach oops (and the companion concept, iterators), and the various "backends" you can use ... Read More
Looking for R at JSM

Feed: R-bloggers. Author: R Views. I am very much looking forward to attending JSM which begins this Sunday. And once again, I will be spending a good bit of my time hunting for new and interesting applications of R. In years gone by, this was a difficult game at JSM because R, R Package, Shiny, tidyverse and the like did not often turn up in a keyword search. This year, however, there is quite a bit of low hanging fruit. Below twenty-five sessions are listed by their JSM Activity Number. If you are going to the conference, try to work ... Read More
Recent Comments