April 2017

R Plot Function — The Options

April 10, 2017 | Aman Tsegai

R’s plot function is probably the most used visualization function in R. It’s simple, easy and gets the job done. It’s also highly customizable. Adding unnecessary styling and information on a visualization/plot is not really recommended because it can take away from what’s being portrayed, ...
[Read more...]

Linear splines with convenient parametrisations

April 10, 2017 | Michał

I have just published a small package lspline on CRAN that implements linear splines using convenient parametrisations such that coefficients are slopes of consecutive segments coefficients capture slope change at consecutive knots Knot locations can be specified manually (with lspline()) at breaks dividing the range of x into q equal-frequency ... [Read more...]

Saving input and output with sp_execute_external_script

April 10, 2017 | tomaztsql

Again I was at the point, where I needed to store and save to external file all the R code that was executed through sp_execute_external_script. Soon, you will find out several interesting things. To show the example, I will start with following example: USE [WideWorldImporters]; GO EXEC ...
[Read more...]

In case you missed it: March 2017 roundup

April 10, 2017 | David Smith

In case you missed them, here are some articles from March of particular interest to R users. A tutorial and comparison of the SparkR, sparklyr, rsparkling, and RevoScaleR packages for using R with Spark. An analysis of Scrabble games between AI players. The doAzureParallel package, a backend to "foreach" for ... [Read more...]

How and when: ridge regression with glmnet

April 10, 2017 | Simon Jackson

@drsimonj here to show you how to conduct ridge regression (linear regression with L2 regularization) in R using the glmnet package, and use simulations to demonstrate its relative advantages over ordinary least squares regression.  Ridge regression Ridge regression uses L2 regularisation to weight/penalise residuals when the parameters of a ...
[Read more...]

Update on Random Forest Package Downloads

April 9, 2017 | Philipp Probst

I just updated the code from a previous post where I analysed the download statistics of different random forest packages in R, see the code at the bottom of the article. I calculated the number of cran downloads in march 2016 and march 2017. Standard random forest The number of download of ... [Read more...]

Shiny server series part 1: setting up

April 9, 2017 | Jasper Ginn

This guide is part of a series on setting up your own private server running shiny apps. There are many guides out there with great advice on how to set up an R shiny server and related software. I try to make a comprehensive guide based in part on the...
[Read more...]

Relationship between Race Distance and Gender Ratio

April 9, 2017 | R on datawookie

In an article entitled “Could women outrun men in ultramarathon races?”, Jenefer Bam and her collaborators explored the hypothesis that running performance of men and women converge with increasing race distance, and suggested that women have superior fatigue resistance. It’d be great to independently validate these results using data ...
[Read more...]

A Python-Like walk() Function for R

April 8, 2017 | matloff

A really nice function available in Python is walk(), which recursively descends a directory tree, calling a user-supplied function in each directory within the tree. It might be used, say, to count the number of files, or maybe to remove all small files and so on. I had students in ... [Read more...]
1 10 11 12 13 14 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)