436 search results for "knitr"

Three Ways to Format R Code for Blogger

April 30, 2014
By
Three Ways to Format R Code for Blogger

Unformatted CodeIf you are like me originally then you might not think it is worth it to spend the extra energy to format your code.  After all people can just copy what you have and paste it into their preferred editor which will do its own forma...

Read more »

Introducing the pathological package for manipulating paths, files and directories

April 28, 2014
By
Introducing the pathological package for manipulating paths, files and directories

I was recently hunting for a function that will strip the extension from a file – changing foo.png to foo, and so forth. I was knitting a report, and wanted to replace the file extension of the input with the extension of the the output file. (knitr handles this automatically in most cases but I

Read more »

Preventing escaping in HTML

April 24, 2014
By

Preventing escaping in HTML Preventing escaping in HTML library(xtable) ## ## Attaching package: 'xtable'## ## The following objects are masked from 'package:Hmisc':## ## label, label<- library(stringr)library(whisker) Problem statementBeing a novice in R language, the problem I faced maight be a novice one,...

Read more »

sjPlot: New options for creating beautiful tables, documentation on #RPubs #rstats

April 22, 2014
By
sjPlot: New options for creating beautiful tables, documentation on #RPubs #rstats

A new update of my sjPlot package was just released on CRAN. This release focused on improving existing functions and bug fixes again. Especially the table output functions (see my previous blog posts on table output functions here and here) improved a lot. Tables now have more and better possibilities for style customization and knitr

Read more »

Simple mortgage calculator

April 22, 2014
By
Simple mortgage calculator

Have you ever thought of borrowing some money? A common case is when you have to borrow money for buying a house, which is called a mortgage. Wikipedia ('Mortgage loan' entry) goes into much more detail about the definition than what I'll cover. One o...

Read more »

Fracking and House Prices on the Marcellus Shale

April 21, 2014
By
Fracking and House Prices on the Marcellus Shale

Starting last summer I worked on a short project that set out to estimate the potential costs of externalities due to unconventional shale gas production in the Marcellus shale on local house prices using a dataset of roughly 150,000 recently sold houses in Ohio, West Virginia and Pennsylvania. I stopped working on a project that

Read more »

Using Gitbook with R Markdown

April 18, 2014
By
Using Gitbook with R Markdown

Gitbook has been getting some (deserved) attention. For those who haven’t seen it, Gitbook is a system to create really beautiful interactive web (or PDF and ebook) books. For me, the timing of discovering this framework could not be better as I am preparing documentation for propensity score analysis for an upcoming workshop I am giving. Of...

Read more »

googleVis 0.5.1 released on CRAN

April 15, 2014
By
googleVis 0.5.1 released on CRAN

GoogleVis 0.5.1 was released on CRAN yesterday. New Features New functions gvisSankey, gvisAnnotationChart, gvisHistogram,gvisCalendar and gvisTimeline to support the new Google charts of the same names (without 'gvis'). New demo Trendlines showing how...

Read more »

categoryCompare Paper Finally Out!

categoryCompare Paper Finally Out! I can finally say that the publication on my Bioconductor package categoryCompare is finally published in the Bioinformatics and Computational Biology section of Frontiers in Genetics. This has been a long time coming, and I wanted to give some background on the inspiration and development of the method and software. TL;DR The software package has been...

Read more »

Choose Your Own Data Adventure

April 5, 2014
By
Choose Your Own Data Adventure

The question is: can we automate scientific discovery, and what might an interface to such a tool look like. I’ve been experimenting with automating simple and complex data analysis and report generation tasks for biological data and mostly using R and LATEX. You can see some of my progress and challenges encountered in the presentation

Read more »