Blog Archives

Shiny, deSolve and ggplot play nicely together

January 24, 2013
By
Shiny, deSolve and ggplot play nicely together

This is just a quick post (after a long absence) to quickly share my first Shiny attempt. The aim is to make available mechanistic models to coworkers through a web-based interface. I had planned to use RApache and RGTK+, but the arrival of Shiny has ...

Read more »

Fitting a dynamic model, and determining the number of parameters that can be fitted.

July 8, 2012
By
Fitting a dynamic model, and determining the number of parameters that can be fitted.

Let's suppose that we have the same dynamic model we presented before - that is, the Lorentz system of differential equations. Remember? In order to perform a fitting we need to define an objective function of sort: this will then be minimised. Now,...

Read more »

Plotting non-overlapping circles…

June 22, 2012
By
Plotting non-overlapping circles…

It's holiday today in Sweden, so happy Midsummer to everyone!!! (I know, it's delayed)No work for me, so I checked up the latest XKCD:Gorgeous, right? So I decided to see if I could make something similar - but being lazy, I didn't feel like drawing al...

Read more »

Coding a dynamic systems and controlling it via a graphical user interface

June 3, 2012
By
Coding a dynamic systems and controlling it via a graphical user interface

My work, in the past year, has consisted mostly of coding dynamic models in R, models which I will soon be exporting to a server-based R implementation, possibly thanks to rApache.I ususally run my models through an input file where I specify all param...

Read more »

Again on polar/star/pie charts

May 28, 2012
By
Again on polar/star/pie charts

Haven't had much time to devote to new visualisations, mostly because work and baby have taken the precedence.But I just wanted to take a few minutes to share the latest version of the script I showed last time.It now saves to a pdf file, but that's no...

Read more »

My take on polar bar (a.k.a. consultant’s) charts

May 16, 2012
By
My take on polar bar (a.k.a. consultant’s) charts

Once upon a time, when I was working at Johnson & Johnson (pharma branch), I was surrounded by a bunch of programmers working to develop (among other things) a nifty piece of software for internal use. Part of it was later released as freeware, cal...

Read more »

Plotting data and distribution simultaneously (with ggplot2)

May 14, 2012
By
Plotting data and distribution simultaneously (with ggplot2)

Ever wanted to see at a glance the distribution of your data across different axes? It happens often to me, and R allows to build a nice plot composition - This is my latest concoction. I used ggplot2 here, but equivalent graphics can be made...

Read more »

gRaphics! 2012-05-12 14:07:00

May 12, 2012
By
gRaphics! 2012-05-12 14:07:00

My own version of bubble plot (part 1)During one of my projects, I found myself in need of visualizing more than 3 dimensions at once. Three-dimensional graphs are not a good solution, usually - they will need to be properly oriented, for a start, ad that's tricky.So, I started looking at bubble plots. The size of the bubble can...

Read more »

gRaphics! 2012-05-12 13:47:00

May 12, 2012
By

First Post: Welcome to this new blog!!!It's been almost one years that I've started using R as my main programming/analysis tool. I like the fact that so many beautiful graphics can be produced directly within R.Although I often just use the basic func...

Read more »