Cartograms of New Zealand census data

April 22, 2017
By
Cartograms of New Zealand census data

I’ve been trying to catch up with mapping functionality in R and its extended ecoverse, so might do a few posts on this in the next month or so. First up (more or less by accident) is cartograms - maps where some other numeric variable is substitut...

Read more »

Using R as a GIS

April 22, 2017
By
Using R as a GIS

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 R. GISTools provides an easy-to-use

Read more »

Does money buy happiness after all? Machine Learning with One Rule

April 22, 2017
By
Does money buy happiness after all? Machine Learning with One Rule

This week, I am exploring Holger K. von Jouanne-Diedrich’s OneR package for machine learning. I am running an example analysis on world happiness data and compare the results with other machine learning models (decision trees, random forest, gradient...

Read more »

Using MCA and variable clustering in R for insights in customer attrition

April 21, 2017
By
Using MCA and variable clustering in R for insights in customer attrition

Analytical challenges in multivariate data analysis and predictive modeling include identifying redundant and irrelevant variables. A recommended analytics approach is to first address the redundancy; which can be achieved by identifying groups of variables that are as correlated as possible among themselves and as uncorrelated as possible with other variable groups in the same data Related Post

Read more »

Shuttering Pies With Retiring Stores

April 21, 2017
By
Shuttering Pies With Retiring Stores

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 other, then let’s make a column... Continue reading...

Read more »

Programming over R

April 21, 2017
By
Programming over R

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 been experimenting with. Meta-Programming Meta-programming is … Continue...

Read more »

R Weekly Bulletin Vol – V

April 21, 2017
By
R Weekly Bulletin Vol – V

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 reading! Shortcut Keys 1. To stop debugging... The post R...

Read more »

Data science for Doctors: Cluster Analysis Exercises

April 21, 2017
By
Data science for Doctors: Cluster Analysis Exercises

Data science enhances people’s decision making. Doctors and researchers are making critical decisions every day. Therefore, it is absolutely necessary for those people to have some basic knowledge of data science. This series aims to help people that are around medical field to enhance their data science skills. We will work with a health related Related exercise sets:

Read more »

Microeconomic Theory and Linear Regression (Part 2)

April 21, 2017
By
Microeconomic Theory and Linear Regression (Part 2)

Introduction In the first part of this article I explained and compared four different functional forms to model apples' production. This is what I need to retake the previously explained examples: # Libraries #install.packages(c("micEcon","lmtest","bbmle","miscTools")) library(micEcon) library(lmtest) library(stats4) #this is a base package so I don't install this library(bbmle) library(miscTools

Read more »

Reproducible Data Science with R

April 21, 2017
By

Yesterday, I had the honour of presenting at The Data Science Conference in Chicago. My topic was Reproducible Data Science with R, and while the specific practices in the talk are aimed at R users, my intent was to make a general argument for doing data science within a reproducible workflow. Whatever your tools, a reproducible process: Saves time,...

Read more »

Emails from R

April 21, 2017
By
Emails from R

There are a few packages for sending email directly from R, but I work in a place where none of these work due to strict network settings. To at least partially circumvent this, here’s some code to produce a PowerShell script to send email(s) via Outlook. The PowerShell script can then be run either by

Read more »

Logistic regressions (in R)

April 21, 2017
By

Logistic regressions are a great tool for predicting outcomes that are categorical. They use a transformation function based on probability to perform a linear regression. This makes them easy to interpret and implement in other systems. Logistic regressions can be The post Logistic regressions (in R) appeared first on Locke Data. Locke Data are a data...

Read more »

Rblpapi 0.3.6

April 20, 2017
By

Time for a new release of Rblpapi -- version 0.3.6 is now on CRAN. Rblpapi provides a direct interface between R and the Bloomberg Terminal via the C++ API provided by Bloomberg Labs (but note that a valid Bloomberg license and installation is requir...

Read more »

A Shiny App for Importing and Forecasting Commodities Prices from Quandl

April 20, 2017
By

In a previous post, we imported oil data from Quandl and applied a simple model to it. Today, we’ll port that work over to a Shiny app (by way of flexdashboard, of course) that allows a user to choose a commodity (oil, copper or gold), choose a frequency for the...

Read more »

Earthquakes & Maps – Report and shinyapp from R-Lab#2

April 20, 2017
By
Earthquakes & Maps – Report and shinyapp from R-Lab#2

In R-Lab#2 we realized a Shinyapp that shows the earthquakes evolution over the Bove-Vettore fault. Here report, code, slides and app! The post Earthquakes & Maps - Report and shinyapp from R-Lab#2 appeared first on MilanoR.

Read more »

SQL Server 2017 to add Python support

April 20, 2017
By
SQL Server 2017 to add Python support

One of the major announcements from yesterday's Data Amp event was that SQL Server 2017 will add Python as a supported language. Just as with the continued R support, SQL Server 2017 will allow you to process data in the database using any Python function or package without needing to export the data from the database, and use SQL...

Read more »

User Defined Functions in R Exercises (Part 1)

April 20, 2017
By
User Defined Functions in R Exercises (Part 1)

In the Exercises we will discuss User Defined Function in R Answers to the exercises are available here. Exercise 1 Create a function to print square of number Exercise 2 Create a function to print a number raise to another with the one argument a default argument Exercise 3 Create a function to print class Related exercise sets:

Read more »

Announcing Datazar v2.0

April 20, 2017
By
Announcing Datazar v2.0

Seven months, two weeks and three days ago, we “officially” released Datazar version 1.0 to the general public. I put officially in quotes because Datazar has always been available to the general public. We develop with our community to ensure that...

Read more »

Random GeoJSON and WKT with randgeo

Random GeoJSON and WKT with randgeo

randgeo generates random points and shapes in GeoJSON and WKT formats for use in examples, teaching, or statistical applications. Points and shapes are generated in the long/lat coordinate system and with appropriate spherical geometry; random points are distributed evenly across the globe, and random shapes are sized according to a maximum great-circle distance from the center of the shape. randgeo was adapted from https://github.com/tmcw/geojson-random...

Read more »

Bland-Altman Plot for Age Comparisons?

April 19, 2017
By
Bland-Altman Plot for Age Comparisons?

Last week I posted about a modified age bias plot. In this post I began looking more deeply at an alternative plot called the Bland-Altman plot. Below, I describe this plot, demonstrate how to construct it in R, give a mild critique of its ...

Read more »

mabbles: The Missing Piece of a Unified Theory of Tidyness

April 19, 2017
By
mabbles: The Missing Piece of a Unified Theory of Tidyness

R programming has seen a big shift in the last couple of years. All those packages that RStudio have been creating to solve this or that problem suddenly started to cohere into a larger ecosystem of packages. Once it was given a name, the tidyverse, it became possible to start thinking about the structure of

Read more »

RcppQuantuccia 0.0.1

April 19, 2017
By

New package! And, as it happens, a effectively a subset or variant of one my oldest packages, RQuantLib. Fairly recently, Peter Caspers started to put together a header-only subset of QuantLib. He called this Quantuccia, and, upon me asking, said that it stands for "little sister" of QuantLib. Very nice. One design goal is to keep...

Read more »

R-Cade Games: Simulating the Legendary Game of Pong

April 19, 2017
By
R-Cade Games: Simulating the Legendary Game of Pong

Playing arcade games in R? Introducing pong, the first R-cade game. This code simulates the legendary game of pong in your favourite data science language. Continue reading → The post R-Cade Games: Simulating the Legendary Game of Pong appeared first on The Devil is in the Data.

Read more »

readxl 1.0.0

April 19, 2017
By
readxl 1.0.0

I’m pleased to announce that readxl 1.0.0 is available on CRAN. readxl makes it easy to bring tabular data out of Excel and into R, for modern .xlsx files and the legacy .xls format. readxl does not have any tricky external dependencies, such as Java or Perl, and is easy to install and use on

Read more »

Microsoft R Server 9.1 now available

April 19, 2017
By

During today's Data Amp online event, Joseph Sirosh announced the new Microsoft R Server 9.1, which is available for customers now. In addition the updated Microsoft R Client, which has the same capabilities for local use, is available free for everyone on both Windows and — new to this update — Linux. This release adds many new capabilities to...

Read more »

Machine Learning Using Support Vector Machines

April 19, 2017
By
Machine Learning Using Support Vector Machines

Support Vector Machines (SVM) is a data classification method that separates data using hyperplanes. The concept of SVM is very intuitive and easily understandable. If we have labeled data, SVM can be used to generate multiple separating hyperplanes such that the data space is divided into segments and each segment contains only one kind of … Continue...

Read more »

Shiny Application Layouts Exercises (Part-1)

April 19, 2017
By
Shiny Application Layouts Exercises (Part-1)

Shiny Application Layouts part 1 Welcome to the first part of our new series “Shiny Application Layouts”. As you can understand from the title we will see how to organize the output of our application in various ways. For this reason we will build together 10 simple apps that will help you understand what kind Related exercise sets:

Read more »

quantmod 0.4-8 on CRAN

April 19, 2017
By

I pushed a bug-fix release of quantmod to CRAN last night. The major changes were togetSymbols.FRED (#141)getSymbols.oanda (#144)getSymbols.yahoo (#149)All three providers made breaking changes to their URLs/interfaces.getSymbols.google also got some ...

Read more »

R Quick Tip: Table parameters for rmarkdown reports

April 19, 2017
By

The recent(ish) advent of parameters in rmarkdown reports is pretty nifty but there’s a little bit of behaviour that can come in handy but doesn’t come across in the documentation. You can use table parameters for rmarkdown reports. Previously, if The post R Quick Tip: Table parameters for rmarkdown reports appeared first on Locke Data. Locke...

Read more »

Sponsors

Mango solutions









Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training



www.ama.org/events-training

ODSC1

ODSC2

datasociety

http://www.eoda.de





CRC R books series







Six Sigma Online Training





Contact us if you wish to help support R-bloggers, and place your banner here.