Quantcast
Browsing all 49 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Visualizing car brand choices in ggplot2

(This article was first published on R snippets, and kindly contributed to R-bloggers) I always like to read new posts at chartsnthings as they always inspire me with new ideas for data visualization....

View Article


Image may be NSFW.
Clik here to view.

You should not use split in production code

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I have stumbled on a problem with split function applied on list of factors. The issue is that it might...

View Article


Image may be NSFW.
Clik here to view.

Optimal sorting using rpart

(This article was first published on R snippets, and kindly contributed to R-bloggers) Some time ago I read a nice post Solving easy problems the hard way where linear regression is used to solve an...

View Article

Image may be NSFW.
Clik here to view.

Solving mastermind with R

(This article was first published on R snippets, and kindly contributed to R-bloggers) In my last post I have shown a solution to classical sorting problem in R. So I thought that this time it would...

View Article

Image may be NSFW.
Clik here to view.

Emulating dynamic scoping in GNU R

(This article was first published on R snippets, and kindly contributed to R-bloggers) By design GNU R uses lexical scoping. Fortunately it allows for at least two ways to simulate dynamic scoping.Let...

View Article


Image may be NSFW.
Clik here to view.

Changing function scope in GNU R example

(This article was first published on R snippets, and kindly contributed to R-bloggers) In my last post I have discussed how to work around GNU R scoping rules using environment function. This time let...

View Article

Image may be NSFW.
Clik here to view.

Animation basics for a vacation

(This article was first published on R snippets, and kindly contributed to R-bloggers) Since I have a vacation this time I decided to implement some entertaining graphics. I have chosen to animate a...

View Article

Image may be NSFW.
Clik here to view.

An example of OOP in GNU R using S4 Classes

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I have discussed with my friend from WLOG Solutions an implementation of banking cash management engine...

View Article


Image may be NSFW.
Clik here to view.

Exporting ctree object to Asymptote

(This article was first published on R snippets, and kindly contributed to R-bloggers) When producing regression or classification trees (standard rpart or ctree from party package) in GNU R I am...

View Article


Image may be NSFW.
Clik here to view.

Simulation metamodeling with GNU R

(This article was first published on R snippets, and kindly contributed to R-bloggers) I am one of the organizers of ESSA2013 conference that will take place in September 2013 in Warsaw, Poland. The...

View Article

Image may be NSFW.
Clik here to view.

Simulation metamodeling with constraints

(This article was first published on R snippets, and kindly contributed to R-bloggers) Last week I have posted about using simulation metamodeling to verify results of analytical solution of the...

View Article

Image may be NSFW.
Clik here to view.

Plotting Watts-Strogatz model

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I wanted to reproduce Figure 2 from Watts and Strogatz (1998). The task using igraph is simple but an...

View Article

Image may be NSFW.
Clik here to view.

Simple Bayesian bootstrap

(This article was first published on R snippets, and kindly contributed to R-bloggers) Bootstrapping is a very popular statistical technique. However, its Bayesian analogue proposed by Rubin (1981) is...

View Article


Image may be NSFW.
Clik here to view.

Possible error in Bayesian bootstrap

(This article was first published on R snippets, and kindly contributed to R-bloggers) After my last post on Bayesian bootstrap I got a question why the sample from Dirichlet distribution is taken as...

View Article

Image may be NSFW.
Clik here to view.

ESSA2013 Conference

(This article was first published on R snippets, and kindly contributed to R-bloggers) It has been just announced that during ESSA2013 conference I am planning to organize a special track on...

View Article


Image may be NSFW.
Clik here to view.

Bridge hand distribution: simulation vs exact calculation

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I played bridge with my friends. Being frustrated with several consecutive poor hand distributions we...

View Article

Image may be NSFW.
Clik here to view.

Predictive models in R: a new book in Polish

(This article was first published on R snippets, and kindly contributed to R-bloggers) Together with Mateusz Zawisza I have just published a new book in Polish on building predictive models in GNU R....

View Article


Wrapper functions in GNU R

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I have been working with GNU R optimization routines a lot. Function optim has a nice trace option that...

View Article

Image may be NSFW.
Clik here to view.

Solving 9-puzzle with GNU R

(This article was first published on R snippets, and kindly contributed to R-bloggers) During holiday break I have decided to solve 9-puzzle, which is 3x3 variant of a well known 15-puzzle. The...

View Article

Times per second benchmark

(This article was first published on R snippets, and kindly contributed to R-bloggers) In GNU R the simplest way to measure execution time of a piece code is to use system.time. However, sometimes I...

View Article
Browsing all 49 articles
Browse latest View live