Blog Archives

Alluvial diagrams

March 27, 2014
By
Alluvial diagrams

Parallel coordinates plot is one of the tools for visualizing multivariate data. Every observation in a dataset is represented with a polyline that crosses a set of parallel axes corresponding to variables in the dataset. You can create such plots in R using a function parcoord in package MASS. For example, we can create such

Read more »

Gadka na SERze

March 9, 2014
By
Gadka na SERze

These are slides from the very first SER meeting – an R user group in Warsaw – that took place on February 27, 2014. I talked about various “lifehacking” tricks for R and focused how to use R with GNU make effectively. I will post some detailed examples in forthcoming posts. Oto moje slajdy z pierwszego Spotkania Entuzjastów

Read more »

Package intergraph goes 2.0

May 9, 2013
By

Yesterday I submitted a new version (marked 2.0-0) of package ‘intergraph’ to CRAN. There are some major changes and bug fixes. Here is a summary: The package supports “igraph” objects created with ‘igraph’ version 0.6-0 and newer (vertex indexing starting from 1, not 0) only! Main functions for converting network data between object classes “igraph”

Read more »

R Color Reference Sheet

April 16, 2013
By
R Color Reference Sheet

R has a built-in collection of 657 colors that you can use in plotting functions by using color names. There are also various facilities to select color sequences more systematically: Color palettes and ramps available in packages RColorBrewer and colorRamps. R base functions colorRamp and colorRampPalette that you can use to create your own color

Read more »

Brokering Closure is moving

August 10, 2012
By
Brokering Closure is moving

Dear readers, this blog is moving out from wordpress.com to a new location. The new address is http://bc.bojanorama.pl. Please update your bookmarks. Drodzy czytelnicy, blog “Brokering Closure” wyprowadza się z wordpress.com pod nowy adres: http://bc.bojanorama.pl. Zaktualizujcie swoje linki/zakładki. Filed under: game theory, geek, networks, po polsku, R, social science, statistics, Uncategorized, web

Read more »

Correction to intergraph update

June 19, 2012
By

It turned out that I wrote the last post on “intergraph” package too hastily. After some feedback from CRAN maintainers and deliberation I decided to release the updated version of the “intergraph” package under the  original name (so no new package “intergraph0″) with version number 1.2. This version relies on legacy “igraph” version 0.5, which

Read more »

Updates to package ‘intergraph’

June 18, 2012
By

On June 17 a new version (0.6) of package ”igraph” was released. This new version abandoned the old way of indexing graph vertices with consecutive numbers starting from 0. The new version now numbers the vertices starting from 1, which is more consistent with the general R convention of indexing vectors, matrices, etc. Because this change is

Read more »

SNA with R workshop at Sunbelt XXXII in Redondo Beach

March 13, 2012
By
SNA with R workshop at Sunbelt XXXII in Redondo Beach

I am currently in Redondo Beach, CA at the Sunbelt XXXII social networks conference. The program is thick from numerous interesting talks so the event promises to be very interesting. Today in the morning I gave the workshop “Introduction to Social Network Analysis with R”. Over 50 people registered. I am grateful to all the

Read more »

Package ‘intergraph’ (1.1-0) released!

September 20, 2011
By

I just released the first official version of the ‘intergraph’ R package. With the functions provided in the current version (1.1-0) you can convert network data objects between classes ‘igraph’ and ‘network’. The package supports directed and undirected networks, and handles the node, tie, and network (graph) attributes. Mutliplex networks (i.e., with possibly multiple ties

Read more »

Shortest paths to/from nodes of a certain type

September 14, 2011
By
Shortest paths to/from nodes of a certain type

Elijah asked the following via SOCNET mailing list: I was wondering if anyone knew of a script or tool which would give me the network distance of nodes to a particular class of nodes.  I think of this as an Erdos number, except instead of getting the distance to one node, I want the distance

Read more »