RStudio:addins part 3 – View objects, files, functions and more with 1 keypress

May 26, 2018
By
RStudio:addins part 3 – View objects, files, functions and more with 1 keypress

Introduction In this post in the RStudio:addins series we will try to make our work more efficient with an addin for better inspection of objects, functions and files within RStudio. RStudio already has a very useful View function and a Go To Function / File feature with F2 as the default keyboard shortcut and yes, I know I promised automatic...

Read more »

Tips for great graphics

May 26, 2018
By
Tips for great graphics

R is a great program for generating top-notch graphics. But to get the best out of it, you need to put in a little more work. Here are a few tips for adapting your R graphics to make them look a little better. 1) Dont use the “File/Save as…/” menu. If you set up your

Read more »

WVPlots now at version 1.0.0 on CRAN!

May 25, 2018
By
WVPlots now at version 1.0.0 on CRAN!

Nina Zumel and I have been working on packaging our favorite graphing techniques in a more reusable way that emphasizes the analysis task at hand over the steps needed to produce a good visualization. We are excited to announce the WVPlots is now at version 1.0.0 on CRAN! The idea is: we sacrifice some of … Continue reading WVPlots...

Read more »

Reflections on the ROpenSci Unconference

May 25, 2018
By

I had an amazing time this week participating in the 2018 ROpenSci Unconference, the sixth annual ROpenSci hackathon bringing together people to advance the tools and community for scientific computing with R. It was so inspiring to be among such a talented and dedicated group of people — special kudos goes to the organizing committee for curating such a...

Read more »

How to plot with patchwork

May 25, 2018
By

INTRODUCTION The goal of patchwork is to make it simple to combine separate ggplots into the same graphic. As such it tries to solve the same problem as gridExtra::grid.arrange() and cowplot::plot_grid but using an API that incites exploration and iteration. Installation You can install patchwork from github with: # install.packages("devtools") devtools::install_github("thomasp85/patchwork") The usage of patchwork Related exercise sets:How to...

Read more »

Programmatically creating text output in R – Exercises

May 25, 2018
By
Programmatically creating text output in R – Exercises

In the age of Rmarkdown and Shiny, or when making any custom output from your data you want your output to look consistent and neat. Also, when writing your output you often want it to obtain a specific (decorative) format defined by the html or LaTeX engine. These exercises are an opportunity to refresh our Related exercise sets:Parallel Computing...

Read more »

Slopegraphs and R – A pleasant diversion – May 26, 2018

May 24, 2018
By
Slopegraphs and R – A pleasant diversion – May 26, 2018

I try to at least scan the R-bloggers feed everyday. Not every article is of interest to me, but I often have one of two different reactions to at least one article. Sometimes it is an “ah ha” moment because the article is right on point for a problem I have now or have had in the past and...

Read more »

vcr: record and replay HTTP requests

R package test suites that include HTTP requests are dependent on an internet connection being up, the internet connection speed, changing behavior of the remote server, as well as changing response formats/data from a remote server. We ideally want to test functionality of our package relative to some known data that isn’t intermittently unavailable or changing. Caveat is that...

Read more »

Safe Disposal of Unexploded WWII Bombs

Safe Disposal of Unexploded WWII Bombs

Abstract Unexploded WWII bombs are ticking threats despite being dropped more than 70 years ago. In this post we explain how statistical methods are used to plan the search and disposal of unexploded WWII bombs. In particular we consider and exemplify the non-parametric nearest neighbour distance (NND) method implemented in the R package highriskzone. The method analyses the spatial pattern...

Read more »

2018-05 Selective Raster Graphics

May 24, 2018
By

This report explores ways to render specific components of an R plot in raster format, when the overall format of the plot is vector. For ...

Read more »

A Comparative Review of the RKWard GUI for R

May 24, 2018
By
A Comparative Review of the RKWard GUI for R

Introduction RKWard is a free and open source Graphical User Interface for the R software, one that supports beginners looking to point-and-click their way through analyses, as well as advanced programmers. You can think of it as a blend of … Continue reading →

Read more »

EARL London 2018 – Agenda announced

May 24, 2018
By
EARL London 2018 – Agenda announced

The EARL London 2018 agenda is now available. Explore the schedule of keynotes, presentations, and lightning talks that cover a huge range of topics, including the best uses of Shiny, R in healthcare, using R for good, and R in finance. The brilliant lineup of speakers-who represent a wide range of industries-is sure to provide inspiration for all R...

Read more »

sample_n_of(): a useful helper function

May 23, 2018
By
sample_n_of(): a useful helper function

Here’s the problem: I have some data with nested time series. Lots of them. It’s like there’s many, many little datasets inside my data. There are too many groups to plot all of the time series at once, so I just want to preview a handful of them. For a working example, suppose we want to visualize the top 50 American female baby names...

Read more »

Simple Spatial Modelling – Part 3: Exercises

May 23, 2018
By
Simple Spatial Modelling – Part 3: Exercises

So far, we have learned how to count spatial variability in our model. Please look at these two previous exercises here and here if you haven’t tried it yet. However, it only represents 1-Dimension model. On this exercise, we will try to expand our spatial consideration into 2-Dimension model. Have a look at this plan Related exercise sets:Simple Spatial...

Read more »

trekfont: Star Trek-themed fonts package

May 23, 2018
By
trekfont: Star Trek-themed fonts package

trekfont is now available on CRAN. This is a simple data package that exposes 107 Star Trek font families. You might not want to use Star Trek fonts for work, but if you are making plots for fun and like Star Trek then these fonts are for you. This post gives a basic example of one how to load these...

Read more »

April 2018: “Top 40” New Packages

May 23, 2018
By
April 2018: “Top 40” New Packages

Below are my “Top 40” picks from the approximately 212 new packages that made it to CRAN in April. They are organized into ten categories: Computational Methods, Data, Data Science, Machine Learning, Music, Science, Statistics, Time Series, Utilities, and Visualizations. Computational Methods diffeqr v0.1.1: Provides an interface to DifferentialEquations.jl which offers high performance methods for solving ordinary differential equations (ODE), stochastic...

Read more »

How Many Factors to Retain in Factor Analysis

May 23, 2018
By
How Many Factors to Retain in Factor Analysis

The method agreement procedure Tweaking Credits The method agreement procedure When running a factor analysis, one often needs to know how many components / latent variables to retain. Fortunately, many methods exist to statistically answer this question. Unfortunately, there is no consensus on which method to use. Therefore, the n_factors() function, available in the psycho package, performs the method...

Read more »

A little function to help generate ICCs in simple clustered data

May 23, 2018
By
A little function to help generate ICCs in simple clustered data

In health services research, experiments are often conducted at the provider or site level rather than the patient level. However, we might still be interested in the outcome at the patient level. For example, we could be interested in understanding the effect of a training program for physicians on their patients. It would be very difficult to randomize patients...

Read more »

Create your Machine Learning library from scratch with R ! (3/5) – KNN

May 23, 2018
By
Create your Machine Learning library from scratch with R ! (3/5) – KNN

This is this second post of the “Create your Machine Learning library from scratch with R !” series. Today, we will see how you can implement K nearest neighbors (KNN) using only the linear algebra available in R. Previously, we managed to implement PCA and next time we will deal with SVM and decision trees. The post Create your...

Read more »

Introducing Datazar Paper

May 23, 2018
By
Introducing Datazar Paper

We’re finally here. Datazar Paper is the most exciting tool we’ve created to date. Up until now, I’d like to believe we’ve only made par with the status quo in terms of the tools we have developed for our beloved community of industry researchers, hackers and academics.We have a vision at Datazar where researchers would eventually be able to...

Read more »

Intro to FFTree Exercise

May 22, 2018
By
Intro to FFTree Exercise

In the exercises below, we will work with FFTree pacakge which lets us use fast and frugal decision tree to model the data Please install the package and load the library before starting Answers to these exercises are available here. If you obtained a different (correct) answer than those listed on the solutions page, please Related exercise sets:Spatial Data...

Read more »

PubMed retractions report has moved

May 22, 2018
By

A brief message for anyone who uses my PubMed retractions report. It’s no longer available at RPubs; instead, you will find it here at Github. Github pages hosting is great, once you figure out that docs/ corresponds to your web root :) Now I really must update the code and try to make it more … Continue reading PubMed...

Read more »

taxize: seven years of taxonomy in R

taxize: seven years of taxonomy in R

taxize was seven years old this last Saturday! What is taxize? taxize is designed around making working with taxonomic names easier - abstracting away the details of what each of 20 or so taxonomic data sources require for a given use case. A samping of use cases covered in taxize (all of these across many different data sources): Taxonomic identifier from a taxonomic...

Read more »

Workshop in Cape Town: Web Scraping with R

Join Andrew Collier and Hanjo Odendaal for a workshop on using R for Web Scraping. Who should attend? This workshop is aimed at beginner and intermediate R users who want to learn more about using R for data acquisition and management, with a speci...

Read more »

Why you should regret not going to eRum 2018?

Why you should regret not going to eRum 2018?

I spent 3 amazing days at eRum conference in Budapest. The conference was a blast and organizers (BIG thanks to them again) did wonderful job compiling such a high-level event. My favourite talks from the conference Better than Deep Learning - Gradient Boosting Machines (GBM) in R - Szilard Pafka Szilard made a thorough overview of currently available ML algorithms. Showed that...

Read more »

Finalfit, knitr and R Markdown for quick results

May 22, 2018
By
Finalfit, knitr and R Markdown for quick results

Thank you for the many requests to provide some extra info on how best to get finalfit results out of RStudio, and particularly into Microsoft Word. Here is how. Make sure you are on the most up-to-date version of finalfit. What follows is for demonstration purposes and is not meant to illustrate model building. … Continue reading "Finalfit,...

Read more »

The use of R in official statistics conference 2018

May 22, 2018
By
The use of R in official statistics conference 2018

On September 12-14 the 6th international conference on the use of R in official statistics (#uRos2018) will take place at the Dutch National Statistical Office in Den Haag, the Netherlands. The conference is aimed at producers and users of official … Continue reading →

Read more »

The myth that AI or Cognitive Analytics will replace data scientists: There is no easy button

May 22, 2018
By
The myth that AI or Cognitive Analytics will replace data scientists: There is no easy button

First, let me say I would love to have an “easy button” for predictive analytics. Unfortunately, predictive analytics is hard work that requires deep subject matter expertise in both the business problem and data science.  I’m not trying to be provocative with this post.  I just want to share my viewpoint over many year of … Continue reading "The...

Read more »

How Has Taylor Swift’s Word Choice Changed Over Time?

May 22, 2018
By
How Has Taylor Swift’s Word Choice Changed Over Time?

How Has Taylor Swift's Word Choice Changed Over Time?Sunday night was a big night for Taylor Swift - not only was she nominated for multiple Billboard Music Awards; she took home Top Female Artist and Top Selling Album. So I thought it was a good time for some more Taylor Swift-themed statistical analysis.When I started this blog back...

Read more »

Search R-bloggers


Sponsors

Mango solutions





mckinsey.com global hackathon

Zero Inflated Models and Generalized Linear Mixed Models with R



datasciencego.com

Quantide: statistical consulting and training

ODSC2 west

ODSC1_london

datasociety

http://www.eoda.de

max kuhn









Six Sigma Online Training



mljar.com

computationalanalytics.com

Our ads respect your privacy. Read our Privacy Policy page to learn more.

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