611 search results for "knitr"

Five Interactive R Visualizations With D3, ggplot2, & RStudio

August 24, 2015
By
Five Interactive R Visualizations With D3, ggplot2, & RStudio

Plotly has a new R API and ggplot2 library for making beautiful graphs. The API lets you produce interactive D3.js graphs with R. This post has five examples. Head to our docs to get a key and you can start making, embedding, and sharing plots. The code below produces our first plot. library(plotly) set.seed(100) d <- diamonds plot_ly(d, x = carat,

Read more »

Is Bayesian A/B Testing Immune to Peeking? Not Exactly

August 20, 2015
By
Is Bayesian A/B Testing Immune to Peeking? Not Exactly

Since I joined Stack Exchange as a Data Scientist in June, one of my first projects has been reconsidering the A/B testing system used to evaluate new features and changes to the site. Our current approach relies on computing a p-value to measure our confidence in a new feature. Unfortunately, this leads to a common pitfall in performing A/B...

Read more »

R packages for undergraduate stat ed

August 9, 2015
By

The other day on the isostat mailing list Doug Andrews asked the following question: Which R packages do you consider the most helpful and essential for undergrad stat ed? I ask in great part because it would help my local … Continue reading →

Read more »

Just another way to make a R flavored blog

August 6, 2015
By
Just another way to make a R flavored blog

This post is in active development! image source This usually is "echo=FALSE" rm(list = ls()) library("printr") knitr::opts_knit$set(root.dir = normalizePath("..")) Considerations Use h2 ## in R files to spin, because h1 is reserved for title post. At the begin of R script write a chunk of R code loading the print package This post have some considerations to have when write a post via: r...

Read more »

Just another way to make a R flavored blog

August 6, 2015
By
Just another way to make a R flavored blog

This post is in active development! image source This usually is "echo=FALSE" rm(list = ls()) library("printr") knitr::opts_knit$set(root.dir = normalizePath("..")) Considerations Use h2 ## in R files to spin, because h1 is reserved for title post. At the begin of R script write a chunk of R code loading the print package This post have some considerations to have when write a post via: r...

Read more »

Rendering LaTeX Math Equations in GitHub Markdown

July 31, 2015
By
Rendering LaTeX Math Equations in GitHub Markdown

The Problem: GitHub README.md won't render LaTeX I have many times wondered about getting LaTeX math to render in a README file on GitHub. Apparently, many others ( 1, 2, 3 ), have asked the same question. The common answers are: It cannot (and in some cases, shouldn't) be done. GitHub parsing is done by

Read more »

Rendering LaTeX Math Equations in GitHub Markdown

July 31, 2015
By
Rendering LaTeX Math Equations in GitHub Markdown

The Problem: GitHub README.md won't render LaTeX I have many times wondered about getting LaTeX math to render in a README file on GitHub. Apparently, many others ( 1, 2, 3 ), have asked the same question. The common answers are: It cannot (and in some cases, shouldn't) be done. GitHub parsing is done by

Read more »

Goals for the New R Consortium

July 28, 2015
By
Goals for the New R Consortium

by Bob Muenchen The recently-created R Consortium consists of companies that are deeply involved in R such as RStudio, Microsoft/Revolution Analytics, Tibco, and others. The Consortium’s goals include advancing R’s worldwide promotion and support, encouraging user adoption, and improving documentation … Continue reading →

Read more »

Introducing the cymruservices R Package

July 22, 2015
By

The R world has come a long way since Jay & I wrote Data-Driven Security. We had to make a conscious decision to stick with R 2.14.0 (R is at version 3.2.1 now) and packages such as knitr and dplyr either didn’t exist or were in their infancy. In Chapter 4, we showed some very basic exploratory data analysis and...

Read more »

A Tutorial on Loops in R – Usage and Alternatives

July 21, 2015
By
A Tutorial on Loops in R – Usage and Alternatives

Introduction In this easy-to-follow R tutorial on loops we will examine the constructs available in R for looping, and how to make use of R’s vectorization feature to perform your looping tasks more efficiently. We will present a few looping examples; then criticize and deprecate these in favor of the most popular vectorized alternatives (amongst The post

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)