Quantcast
Channel: r software hub
Viewing all articles
Browse latest Browse all 1015

What’s new on CRAN: March 2016

$
0
0

By Joseph Rickert

by Joseph Rickert

Packages continue to flood into CRAN at a rate the challenges the sanity of anyone trying to keep up with what’s new. So far this month, more than 190 packages have been added. Here is a my view of what’s interesting in this March madness.

The launch_tutorial() function from the RtutoR package by Anup Nair launches a Shiny-based interactive R tutorial that, so far, includes sections on basic operations on a data set, data manipulation, loops and functions, and basic model development. The following screen shows the page for selecting columns from a data set. Notice that the example code offers two different dplyr based alternatives. The interface is far from perfect, but it’s quite workable. Interactive tutorials launched directly from the command line may very well be the next generation of R documentation.

It also looks like the idea of using an R package to launch a shiny application may indicate a trend. The lavaan.shiny package by William Kyle Hamilton, also new this month, contains a single function to launch an interactive tutorial on latent variable analysis based on the lavaan package.

Time Series aficionados will want to have a look at the dCovTS package from Pitsillou and Foxianos which implements the distance covariance and correlation metrics for univariate and multivariate time series. These are relatively new metrics published by Z. Zhou in a 2012 paper in which he adapted the distance correlation metric developed by Szekely et al to measure non-linear dependence in time series. The following plots shows the data, ACF, PACF and Auto-Distance Correlation Function (ADCF) for a time series of monthly deaths from bronchitis, emphysema and asthma for makes in the UK between 1974 and 1979.

Adcf

The ADCF plot produced by the function ADCFplot(mdeaths,method=”Wild”,b=100) uses the “Wild Bootstrap”, a relatively new re-sampling …read more

Source:: r-bloggers.com


Viewing all articles
Browse latest Browse all 1015

Trending Articles