510 search results for "knitr"

Simple template for scientific manuscripts in R markdown

March 12, 2015
By

The good reasons to write scientific reports and manuscripts in LaTeX or Markdown are: improved document integrity (always), simplicity (not always) and reproducibility (always). I prefer the lightweight Markdown over rich but more complex LaTeX -- I think that lightweight is good for reproducibility. I am also in love with … Continue reading →

Read more »

Creating composite figures with ggplot2 for reproducible research

March 10, 2015
By
Creating composite figures with ggplot2 for reproducible research

So far, I have been preparing composite figures by plotting the data using ggplot2, and then putting the panels together in OmniGraffle or Adobe Illustrator. Of course, every time the data is updated, I would need to go back to the vector editing progr...

Read more »

ropensci/wishlist: A Google Docs-Rmarkdown GUI

March 10, 2015
By
ropensci/wishlist: A Google Docs-Rmarkdown GUI

ropensci/wishlist: A Google Docs-Rmarkdown GUI: Wishlist for rOpenSci tools I’ve just added A Google Docs-Rmarkdown GUI to the rOpenSci ‘wishlist’. (GUI = graphical user interface). Thought I may as well reproduce it below: Summary: Use Google Docs for ease of drafting, aiming to output Rmarkdown to increase the use of reproducible documents Add some special codes to...

Read more »

Getting Data From An Online Source

March 6, 2015
By

Getting Data From One Online SourceRobert NorbergHello world. It’s been a long time since I posted anything here on my blog. I’ve been busy getting my Masters degree in statistical computing and I haven’t had much free time to blog. But I’ve writing R code as much as ever. Now, with graduation approaching, I’m job hunting and I thought it would...

Read more »

Beautiful tables for linear model summaries #rstats

March 6, 2015
By
Beautiful tables for linear model summaries #rstats

Beautiful HTML tables of linear models In this blog post I’d like to show some (old and) new features of the sjt.lm function from my sjPlot-package. These functions are currently only implemented in the development snapshot on GitHub. A package update is planned to be submitted soon to CRAN. There are two new major features

Read more »

Plotly Graphs with Domino’s New R Notebook

March 3, 2015
By
Plotly Graphs with Domino’s New R Notebook

by Matt Sundquist co-founder of Plotly Domino's new R Notebook and Plotly's R API let you code, make interactive R and ggplot2 graphs, and collaborate entirely online. Here is the Notebook in action: Published R Notebook To execute this Notebook, or to build your own, head to Domino's Plotly Project. The GIF below shows how to get started: choose...

Read more »

One weird trick to compile multipartite dynamic documents with Rmarkdown

February 28, 2015
By
One weird trick to compile multipartite dynamic documents with Rmarkdown

This afternoon I stumbled across this one weird trick an undocumented part of the YAML headers that get processed when you click the ‘knit’ button in RStudio. Knitting turns an Rmarkdown document into a specified format, using the rmarkdown package’s render function to call pandoc (a universal document converter written in Haskell). If you...

Read more »

Playing around with #rstats twitter data

Playing around with #rstats twitter data

As a bit of weekend fun, I decided to briefly look into the #rstats twitter data that Stephen Turner collected and made available (thanks!). Essentially, this data set contains some basic information about over 100,000 tweets that contain the hashtag… Continue reading →

Read more »

Does Balancing Classes Improve Classifier Performance?

February 27, 2015
By
Does Balancing Classes Improve Classifier Performance?

It’s a folk theorem I sometimes hear from colleagues and clients: that you must balance the class prevalence before training a classifier. Certainly, I believe that classification tends to be easier when the classes are nearly balanced, especially when the class you are actually interested in is the rarer one. But I have always been … Continue reading...

Read more »

Announcing: Introduction to Data Science video course

February 25, 2015
By
Announcing: Introduction to Data Science video course

Win-Vector LLC’s Nina Zumel and John Mount are proud to announce their new data science video course Introduction to Data Science is now available on Udemy. We designed the course as an introduction to an advanced topic. The course description is: Use the R Programming Language to execute data science projects and become a data … Continue reading...

Read more »