321 search results for "animation"

flip and rotate branches in ggtree

June 30, 2015
By
flip and rotate branches in ggtree

flip function is a feature request from ggtree user. It accepts a tree view and two node numbers and exchange the positions of the selected clades. ?View Code RSPLUS1 Read More: 159 Words Totally

Read more »

15 Easy Solutions To Your Data Frame Problems In R

June 11, 2015
By
15 Easy Solutions To Your Data Frame Problems In R

R’s data frames regularly create somewhat of a furor on public forums like Stack Overflow and Reddit. Starting R users often experience problems with the data frame in R and it doesn’t always seem to be straightforward. But does it really need to be so? Well, not necessarily. With today’s post, DataCamp wants to show The post

Read more »

Mortgages Are About Math: Open-Source Loan-Level Analysis of Fannie and Freddie

June 9, 2015
By
Mortgages Are About Math: Open-Source Loan-Level Analysis of Fannie and Freddie

ortgages were acknowledged to be the most mathematically complex securities in the marketplace. The complexity arose entirely out of the option the homeowner has to prepay his loan; it was poetic that the single financial complexity contributed to the marketplace by the common man was the Gordian knot giving the best brains on Wall Street a run...

Read more »

“Just the text ma’am” – Web Site Content Extraction with XSLT & R

June 8, 2015
By

Sometimes you just need the salient text from a web site, often as a first step towards natural language processing (NLP) or classification. There are many ways to achieve this, but XSLT (eXtensible Stylesheet Language) was purpose-built for slicing, dicing and transforming XML (and, hence, HTML) so, it can make more sense and even be speedier use XSLT...

Read more »

Animated US Hexbin Map of the Avian Flu Outbreak

June 7, 2015
By
Animated US Hexbin Map of the Avian Flu Outbreak

The recent announcement of the start of egg rationing in the U.S. made me curious enough about the avian flu outbreak to try to dig into the numbers a bit. I finally stumbled upon a USDA site that had an embedded HTML table of flock outbreak statistics by state, county and date (also flock type

Read more »

Dynamic analysis on outliers

April 24, 2015
By
Dynamic analysis on outliers

Treating outliers Introduction Outliers are the extreme values that a variable has, depending on the model or requirement, it could be necessary to treat them, either transforming or deleting. Variable “Income” distribution This is going to be our main variable in this example, which represents customer's income in $. We can observe how there are a few cases...

Read more »

Introducing shinyjs: perform common JavaScript operations in Shiny apps using plain R code

April 23, 2015
By
Introducing shinyjs: perform common JavaScript operations in Shiny apps using plain R code

shinyjs is my second R package that managed to find its way past the CRAN review process. It lets you perform common useful JavaScript operations in Shiny applications without having to know any JavaScript. Demos You can check out a demo Shiny app that lets you play around with some of the functionality that shinyjs makes available, or have a look at a...

Read more »

The Non-parametric Bootstrap as a Bayesian Model

April 17, 2015
By
The Non-parametric Bootstrap as a Bayesian Model

The non-parametric bootstrap was my first love. I was lost in a muddy swamp of zs, ts and ps when I first saw her. Conceptually beautiful, simple to implement, easy to understand (I thought back then, at least). And when she whispered in my ear, “I make no assumptions regarding the underlying distribution”, I was in love. This love...

Read more »

Interactive pivot tables with R

March 31, 2015
By
Interactive pivot tables with R

I love interactive pivot tables. That is the number one reason why I keep using spreadsheet software. The ability to look at data quickly in lots of different ways, without a single line of code helps me to get an understanding of the data really fast...

Read more »

Introducing the streamgraph htmlwidget R Package

February 15, 2015
By
2015-02-17 15_12_00-Clipboard

We were looking for a different type of visualization for a project at work this past week and my thoughts immediately gravitated towards streamgraphs. The TLDR on streamgraphs is they they are generalized versions of stacked area graphs with free baselines across the x axis. They are somewhat controversial but have a “draw you in”

Read more »