Articles by Steph

Using purrr with APIs – revamping my code

June 13, 2017 | Steph

I wrote a little while back about using Microsoft Cognitive Services APIs with R to first of all detect the language of pieces of text and then do sentiment analysis on them. I wasn’t too happy with the some of The post Using purrr with APIs – revamping my code ... [Read more...]

Versioning R model objects in SQL Server

May 26, 2017 | Steph

High-level info If you build a model and never update it you’re missing a trick. Behaviours change so your model will tend to perform worse over time. You’ve got to regularly refresh it, whether that’s adjusting the existing model to The post Versioning R model objects in ... [Read more...]

Improving automatic document production with R

May 19, 2017 | Steph

In this post, I describe the latest iteration of my automatic document production with R. It improves upon the methods used in Rtraining, and previous work on this topic can read by going to the auto deploying R documentation tag. The post Improving automatic document production with R appeared first ... [Read more...]

How to go about interpreting regression cofficients

May 12, 2017 | Steph

Following my post about logistic regressions, Ryan got in touch about one bit of building logistic regressions models that I didn’t cover in much detail – interpreting regression coefficients. This post will hopefully help Ryan (and others) out. @SteffLocke This was The post How to go about interpreting regression cofficients ... [Read more...]

datasauRus now on CRAN

May 9, 2017 | Steph

datasauRus is a package storing the datasets from the paper Same Stats, Different Graphs: Generating Datasets with Varied Appearance and Identical Statistics through Simulated Annealing. It’s a useful package for: Having a dinosaur dataset Showing a dinosaur related variant of The post datasauRus now on CRAN appeared first on ...
[Read more...]

R Quick Tip: parameter re-use within rmarkdown YAML

May 8, 2017 | Steph

Ever wondered how to make an rmarkdown title dynamic? Maybe, wanted to use a parameter in multiple locations? Maybe wanted to pass through a publication date? Advanced use of YAML headers can help! Normally, when we write rmarkdown, we might The post R Quick Tip: parameter re-use within rmarkdown YAML ... [Read more...]

Minor update to HIBPwned

May 5, 2017 | Steph

A new version of HIBPwned has been accepted onto CRAN. This occurred yesterday so it could still be filtering into some mirrors. HIBPwned is an R wrapper for the useful website HaveIBeenPwned and if you don’t already utilise the package The post Minor update to HIBPwned appeared first on ... [Read more...]

Error installing latest R version (3.4.0) on Windows

May 3, 2017 | Steph

If you’re getting the following error when you’ve installed R 3.4.0 on Windows, you’re not alone. Error in if (file.exists(dest) && file.mtime(dest) __ file.mtime(lib) && : missing value where TRUE/FALSE needed The R team have released a patched version but The post Error installing latest ... [Read more...]

The making of datasauRus

May 2, 2017 | Steph

Around 8:30pm I saw this tweet and duly retweeted — Richie Cotton (@richierocks) May 1, 2017 It turns out awesome folks, George and Justin, had made a process whereby they can generate different distributions of The post The making of datasauRus appeared first on Locke Data. Locke ... [Read more...]

Getting started with data science – recommended resources

May 2, 2017 | Steph

An oft asked question is what resources can I recommend for getting started with data science? Here are my recommendations, and if you have others, please put them in the comments! NB Links in this post may be affiliate links The post Getting started with data science – recommended resources appeared ... [Read more...]

Building an R training environment

April 24, 2017 | Steph

I recently delivered a day of training at SQLBits and I really upped my game in terms of infrastructure for it. The resultant solution was super smooth and mitigated all the install issues and preparation for attendees. This meant we The post Building an R training environment appeared first on ... [Read more...]

Logistic regressions (in R)

April 21, 2017 | Steph

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 ... [Read more...]

R Quick Tip: Table parameters for rmarkdown reports

April 19, 2017 | Steph

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 ... [Read more...]

Community workshops

April 14, 2017 | Steph

Following on from when we announced the availability of our community workshops, we’ve got three in the next three months that folks can attend. May 19th – Data science project in a day We’ll be in Kiev, Ukraine, doing a The post Community workshops appeared first on Locke Data. ... [Read more...]

Announcing community R workshops

February 27, 2017 | Steph

A big part of why I’ve launched Locke Data is so that I can give back more to my communities. I want to give more time and more support to others. One of the first steps is doing some activities that give financial support to community groups without damaging ... [Read more...]

Quick tip: knitr Python Windows setup checklist

February 22, 2017 | Steph

One of the nifty things about using R is that you can use it for many different purposes and even other languages! If you want to use Python in your knitr docs or the newish RStudio R notebook functionality, you might encounter some fiddliness getting all the moving parts running ... [Read more...]

Is my time series additive or multiplicative?

February 20, 2017 | Steph

Time series data is an important area of analysis, especially if you do a lot of web analytics. To be able to analyse time series effectively, it helps to understand the interaction between general seasonality in activity and the underlying The post Is my time series additive or multiplicative? appeared ... [Read more...]
1 2 3

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)