793 search results for "Knitr"

Exploring 2017 Retail Store Closings with R

March 19, 2017
By
Exploring 2017 Retail Store Closings with R

A story about one of the retail chains (J.C. Penny) releasing their list of stores closing in 2017 crossed paths with my Feedly reading list today and jogged my memory that there were a number of chains closing many of their doors this year, and I wanted to see the impact that might have on... Continue reading...

Read more »

tidyquant Integrates Quandl: Getting Data Just Got Easier

tidyquant Integrates Quandl: Getting Data Just Got Easier

Today I’m very pleased to introduce the new Quandl API integration that is available in the development version of tidyquant. Normally I’d introduce this feature during the next CRAN release (v0.5.0 coming soon), but it’s really useful and honest...

Read more »

Experimenting With Sankey Diagrams in R and Python

March 17, 2017
By
Experimenting With Sankey Diagrams in R and Python

A couple of days ago, I spotted a post by Oli Hawkins on Visualising migration between the countries of the UK which linked to a Sankey diagram demo of Internal migration flows in the UK. One of the things that interests me about the Jupyter and RStudio centred reproducible research ecosystems is their support for

Read more »

Plotting trees from Random Forest models with ggraph

March 15, 2017
By
Plotting trees from Random Forest models with ggraph

Today, I want to show how I use Thomas Lin Pederson’s awesome ggraph package to plot decision trees from Random Forest models. I am very much a visual person, so I try to plot as much of my results as possible because it helps me get a better feel f...

Read more »

Adding figure labels (A, B, C, …) in the top left corner of the plotting region

March 15, 2017
By
Adding figure labels (A, B, C, …) in the top left corner of the plotting region

I decided to submit a manuscript using only R with knitr, pandoc and make. Actually, it went quite well. Certainly, revisions of manuscript with complex figures did not require much of manual work once the R code for the figures has been created. The manuscript ended up as a Word file (for the sake of

Read more »

Writing manuscripts in Rstudio, easy citations

March 13, 2017
By
Writing manuscripts in Rstudio, easy citations

Intro and setup This is a simple explanation of how to write a manuscript in RStudio. Writing a manuscript in RStudio is not ideal, but it has gotten better over time. It is now relatively easy to add citations to documents in RStudio. **The goal...

Read more »

useRs Relationship with R

March 11, 2017
By
useRs Relationship with R

In our first post on the useR! 2016 survey we discussed the responses from the demographic section, finding in particular that: The useR! 2016 attendees were predominately men, typically under 40, White/Caucasian and employed full-time. Women attend...

Read more »

Changing names in the tidyverse: An example for many regressions

March 9, 2017
By
Changing names in the tidyverse: An example for many regressions

A collaborator posed an interesting R question to me today. She wanted to do several regressions using different outcomes, with models being computed on different strata defined by a combination of experimental design variables. She then just wanted to extract the p-values for the slopes for each of the models, and then filter the strata

Read more »

Hyper-parameter Tuning with Grid Search for Deep Learning

March 6, 2017
By
Hyper-parameter Tuning with Grid Search for Deep Learning

Last week I showed how to build a deep neural network with h2o and rsparkling. As we could see there, it is not trivial to optimize the hyper-parameters for modeling. Hyper-parameter tuning with grid search allows us to test different combinations of h...

Read more »

Hundreds of Guardian blind dates

March 6, 2017
By
Hundreds of Guardian blind dates

One of my more or less guilty pleasures is reading The Guardian blind date each week. I think I started doing this when living in Cambridge, England for five months. I would buy i every weekday and The Guardian week-end every week-end. I wasn’t even ...

Read more »

Recent popular posts

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)