810 search results for "knitr"

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 »

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 attendees tended to be younger and less advanced in their careers. Non-Asian minority races and LGBT individuals were under-represented. Approximately a quarter of attendees were caregivers. We...

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 »

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 »

HTML vignettes crashing your RStudio? This may be the reason

March 5, 2017
By
HTML vignettes crashing your RStudio? This may be the reason

Short version: if RStudio on Windows 7 crashes when viewing vignettes in HTML format, it may be because those packages specify knitr::rmarkdown as the vignette engine, instead of knitr::knitr and you’re using rmarkdown v1. Longer version with details – read on. update: looks like this issue relates to the installed version of rmarkdown (1.3 in my … Continue...

Read more »

Did Mary and John go West?

March 5, 2017
By
Did Mary and John go West?

Abstract As a final post in the baby-names-the-data-scientist's-way series, we use the US Social Security Administration 1910-2015 data to space-time visualize for each the most popular baby name for girls and boys, respectively. The code uses in parts the new simple features package (sf) in order to to get some first experience with the package. Creative Commons...</p><p><a href=Read more »

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)