3220 search results for "Map"

Using iterators for sparse vectors and matrices

March 31, 2014
By
Using iterators for sparse vectors and matrices

Iterating over a sparse vector Consider the following vector: idx1 <- c(2L, 0L, 4L, 0L, 7L)A sparse representation of this vector will tell that at entries 1,3,5 (or at entries 0,2,4 if we are 0-based) we will find the values 2,4,7. Using Eigen via RcppEigen we can obtain the coercion with .sparseView(). We can iterate over all elements (including the zeros) in a sparse vector...

Read more »

Bayesian Data Analysis [BDA3 – part #2]

March 30, 2014
By
Bayesian Data Analysis [BDA3 – part #2]

Here is the second part of my review of Gelman et al.’ Bayesian Data Analysis (third edition): “When an iterative simulation algorithm is “tuned” (…) the iterations will not in general converge to the target distribution.” (p.297) Part III covers advanced computation, obviously including MCMC but also model approximations like variational Bayes and expectation propagation

Read more »

Introduction to PortfolioAnalytics

March 29, 2014
By
Introduction to PortfolioAnalytics

PortfolioAnalytics Basics This is a guest post by Ross Bennett. Ross is currently enrolled in the University of Washington Master of Science in Computational Finance & Risk Management program with an expected graduation date of December 2014. He worked on the PortfolioAnalytics...

Read more »

A Simple Introduction to the Graphing Philosophy of ggplot2

March 28, 2014
By
A Simple Introduction to the Graphing Philosophy of ggplot2

Blog post: a very basic introduction to building data plots using ggplot2 in R. #Rstats

Read more »

Why use R? Five reasons.

March 27, 2014
By
Why use R? Five reasons.

In this post I will go through 5 reasons: zero cost, crazy popularity, awesome power, dazzling flexibility, and mind-blowing support. I believe R is the best statistical programming language to learn. As a blogger who has contributed over 150 posts in Stata and over 100 in R I have extensive experience with both a proprietary statistical programming language...

Read more »

Assign n Email Addresses to x Cells, Intrinsically (Part II)

March 27, 2014
By

Part I showed the concept and general technique of a method of assigning n email addresses to x cells pseudo-randomly, without the need for maintaining a log of each assignment.The earlier post considered the basic case of each cell being assigned approximately the same quantity of email addresses. In practice, cell sizes often vary. Below is a technique that...

Read more »

GIS in R: Part 1

March 27, 2014
By
GIS in R: Part 1

I messed around with R for years without really learning how to use it properly. I think it’s because I could always throw my hands up when the going got tough and run back and cling the skirts of Excel or JMP or Systat. I finally learned how to use R when I needed to

Read more »

Accessing iNaturalist data

March 26, 2014
By
Accessing iNaturalist data

The iNaturalist project is a really cool way to both engage people in citizen science and collect species occurrence data. The premise is pretty simple, users download an app for their smartphone, and then can easily geo reference any specimen they see, uploading it to the iNaturalist website. It let's users turn casual observations into meaningful...

Read more »

Sankey diagrams with googleVis

March 25, 2014
By
Sankey diagrams with googleVis

Sankey diagrams are great for visualising flows from one set of data values to another. Although named after Irish Captain Matthew Henry Phineas Riall Sankey, who used this type of diagram in 1898 to show the energy efficiency of a steam engine, the best know Sankey diagram is probably Charles Minard's Map of Napoleon's Russian Campaign...

Read more »

Which states are the most concerned by gun crime?

March 24, 2014
By
Which states are the most concerned by gun crime?

I recently discovered the Capitol Words API and have had some fun playing around with it. One of the categories in the API allows you to search for the words spoken by the senators of each state in the USA, and I was interested in finding out the number of times the words “gun” were recorded on a

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)