December 2016

Spatial analysis pipelines with simple features in R

December 27, 2016 | 0 Comments

In November, the new simple features package for R sf hit CRAN. The package is like rgdal, sp, and rgeos rolled into one, is much faster, and allows for data processing with dplyr verbs! Also, as sf objects are represented in a much simpler way than sp objects, it allows ... [Read more...]

Spatial analysis pipelines with simple features in R

December 27, 2016 | 0 Comments

In November, the new simple features package for R sf hit CRAN. The package is like rgdal, sp, and rgeos rolled into one, is much faster, and allows for data processing with dplyr verbs! Also, as sf objects are represented in a much simpler way than sp objects, it allows ... [Read more...]

Start with wordcloud

December 26, 2016 | 0 Comments

I followed my good resolutions on practising data analysis in my previous post and started to play with the French drug database. After importing the data, I started classically with data visualisation. In this database, there is a lot of text data. To visualise this, some wordcloud is always welcome. ... [Read more...]

Data Preparation, Long Form and tl;dr Form

December 26, 2016 | 0 Comments

Data preparation and cleaning are some of the most important steps of predictive analytic and data science tasks. They are laborious, where most of the errors are made, your last line of defense against a wild data, and hold the biggest opportunities for outcome improvement. No matter how much time ...
[Read more...]

The Basics of Bayesian Statistics

December 26, 2016 | 0 Comments

Bayesian Inference is a way of combining information from data with things we think we already know. For example, if we wanted to get an estimate of the mean height of people, we could use our prior knowledge that people are generally between 5 and 6 feet tall to inform the results ... [Read more...]

Descriptive Analytics-Part 5: Data Visualisation (Spatial data)

December 25, 2016 | 0 Comments

Descriptive Analytics is the examination of data or content, usually manually performed, to answer the question “What happened?”. In order to be able to solve this set of exercises you should have solved the part 0, part 1, part 2,part 3, and part 4 of this series but also you should run this script ... [Read more...]

Building Shiny App exercises part 3

December 25, 2016 | 0 Comments

ADD CONTROL WIDGETS Welcome to the third part of our series. In this part you will learn how to build and place inside your app the rest of the widgets which were mentioned in part 2. More specifically we will analyze: 1) helptext, 2) numericInput, 3) radioButtons, 4) selectInput, 5) sliderInput and 6) textInput. As […] [Read more...]

Extracting data on shadow economy from PDF tables

December 25, 2016 | 0 Comments

Data on the shadow economy? I’m reading Kenneth Rogoff’s The Curse of Cash. It was one of Bloomberg’s Best Books of 2016 and the Financial Times’ Best Economics Books of 2016, and I recommend it. It’s an excellent and convincing book, makin... [Read more...]

Computing Sample Size for Variance Estimation

December 24, 2016 | 0 Comments

The R package samplesize4surveys contains functions that allow to calculate sample sizes for estimating proportions, means, difference of proportions and even difference of two means. It also permits the calculation of sample error and power level for ...
[Read more...]

Distributional Semantics in R: Part 1 {tm} classes + read/write

December 24, 2016 | 0 Comments

The R code for this tutorial on Methods of Distributional Semantics in R is found in the respective GitHub repository. Following my Methods of Distributional Semantics in R BelgradeR Meetup with Data Science Serbia, organized in Startit Center, Belgrade, 11/30/2016, several people asked me for the R code used for the ... [Read more...]

New Release of ggguitar available on CRAN

December 24, 2016 | 0 Comments

Based on feedback ggguitar has been updated and released on CRAN.  The updated vignette includes more examples of how the package can be used.  Example below as well: Update - Blogger was reformatting the R code - so made it available in this gist instead.Merry Christmas.
[Read more...]

anytime 0.2.0: Feature, fixes and tests!

December 24, 2016 | 0 Comments

A brand new anytime package just arrived at CRAN. This is release number eight, evenly spread with over two per month, since the initial release in September. Needless to say I have been told off not to make this many releases. As they say, no good deed goes unpunished. anytime ... [Read more...]

Does replyr::let work with data.table?

December 24, 2016 | 0 Comments

I’ve been asked if the adapter “let” from our R package replyr works with data.table. My answer is: it does work. I am not a data.table user so I am not the one to ask if data.table benefits a from a non-standard evaluation to standard evaluation ...
[Read more...]

My free book has a cover!

December 23, 2016 | 0 Comments

I’m currently writing a book as a hobby. It’s titled Functional programming and unit testing for data munging with R and you can get it for free here. You can also read it online for free on my webpage What’s the book about? Here’s the teaser ... [Read more...]

Classification with Linear Discriminant Analysis

December 23, 2016 | 0 Comments

Classification with linear discriminant analysis is a common approach to predicting class membership of observations. A previous post explored the descriptive aspect of linear discriminant analysis with data collected on two groups of beetles. In this post, we will use the discriminant functions found in the first post to classify... ... [Read more...]
1 2 3 4 5 18

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)