377 search results for "animation"

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 »

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. Update (2015-05-31) The package has improved a lot since writing this post and some really useful functionality that I’ve been asked to implement was added. I recommend either going...

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 »

Animated great circles 2: smoother lines

April 16, 2015
By
Animated great circles 2: smoother lines

Here is draft two of my great circle arcs R animation. This time I focused on improving the smoothness of the lines and removing some buggy line behavior, keeping it on a flat map for now. As with DRAFT 1, the YouTube video is of significantly reduced quality, to the point that you will see

Read more »

Animated paths in R: toy example

April 14, 2015
By
Animated paths in R: toy example

Recently I have shared examples of animations made using R which feature traversal of pathways, specifically grid cell borders and great circle arcs. Here I provide the basic code required to generate a path sequence from a path. The fundamental ideas are as follows: Pathways are represented by lines. Lines are represented by a series

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)