Monthly Archives: March 2018

inegiR v2

March 28, 2018
By
inegiR v2

After a lot of slacking around, I finally got to finishing the upgraded version of the inegiR package on CRAN. This version combines quite a few changes that I will explain further in this post. New language The biggest change upfront is the migration to english in both function names and documentation. The rationale behind this is to make it more...

Read more »

Parsing Dates and Time – Part 1: Exercises

March 28, 2018
By
Parsing Dates and Time – Part 1: Exercises

In the exercises below we will work with anytime and lubridate package to see how to manipulate date and time Answers to the exercises are available here. If you obtained a different (correct) answer than those listed on the solutions page, please feel free to post your answer as a comment on that page. Exercise Related exercise sets:Spatial Data...

Read more »

GB postcode polygons – open data

March 28, 2018
By
GB postcode polygons – open data

Newly published postcode open data!

Read more »

Cats are great and so is the forcats R package

March 28, 2018
By
Cats are great and so is the forcats R package

Cats are great. Perhaps Hadley Wickham and Lionel Henry think so too given the wonderful choice of name for their purrr package. Hadley Wickham has also created a superb package called forcats, likely  an abbreviation of “for categoricals” but wittingly cat-themed, which is very, very useful to the data scientist. In the data science profession,… Continue reading Cats are...

Read more »

R Tip: Use Named Vectors to Re-Map Values

March 28, 2018
By

Here is an R tip. Want to re-map a column of values? Use a named vector as the mapping. Example: library("dplyr") library("wrapr") head(starwars) # # A tibble: 6 x 2 # name gender # # 1 Luke Skywalker male # 2 C-3PO NA # 3 R2-D2 NA # 4 Darth Vader … Continue reading R...

Read more »

EARL abstract submissions closing soon!

March 28, 2018
By
EARL abstract submissions closing soon!

...

Read more »

What we’re excited about in the world of RStudio

March 28, 2018
By
What we’re excited about in the world of RStudio

...

Read more »

Using Excel for Data Entry

March 28, 2018
By

This article shows you how to enter data so that you can easily open in statistics packages such as R, SAS, SPSS, or jamovi (code or GUI steps below). Excel has some statistical analysis capabilities, but they often provide incorrect answers. For … Continue reading →

Read more »

Introducing purging: An R package for addressing mediation effects

March 28, 2018
By
Introducing purging: An R package for addressing mediation effects

A Simple Method for Purging Mediation Effects among Independent Variables Mediation can occur when one independent variable swamps the effect of another, suggesting high correlation between the two variables. Though there are some great packages for mediation analysis out there, the simple intuition of its need is often ambiguous, especially for younger graduate students. Thus, … Continue reading Introducing...

Read more »

Discriminant Analysis: Statistics All The Way

March 27, 2018
By
Discriminant Analysis: Statistics All The Way

Discriminant analysis is used when the variable to be predicted is categorical in nature. This analysis requires that the way to define data points to the respective categories is known which makes it different from cluster analysis where the classification criteria is not know. It works by calculating a score based on all the predictor … Continue reading Discriminant...

Read more »

Search R-bloggers


Sponsors

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)