Articles by Michał

Linear splines with convenient parametrisations

April 10, 2017 | Michał

I have just published a small package lspline on CRAN that implements linear splines using convenient parametrisations such that coefficients are slopes of consecutive segments coefficients capture slope change at consecutive knots Knot locations can be specified manually (with lspline()) at breaks dividing the range of x into q equal-frequency ... [Read more...]

Metodologiczne inspiracje 2016

October 3, 2016 | Michał

English summary: On 2016-09-28 I presented an application of methods of estimating Exponential-family Random Graph Models from ego-centrically sampled data. Conference was in Polish. See the program and my slides for further details. W zeszłym tygodniu (28-30.09.2016) miała miejsce konferencja Metodologiczne Inspiracje 2016. Badania ilościowe w naukach ... [Read more...]

Szkolenie z analizy sieciowej

November 13, 2015 | Michał

Summary in English: We are organizing a two-day workshop on network analysis in R. The dates are 2-3 of December, 2015. The workshop will be in Polish. For more information and registration see this page. Zapraszamy na szkolenie z analizy sieciowej w R w dniach 2-3 grudnia 2015. Analiza sieci społecznych (... [Read more...]

Linear models with weighted observations

September 4, 2015 | Michał

In data analysis it happens sometimes that it is neccesary to use weights. Contexts that come to mind include: Analysis of data from complex surveys, e.g. stratified samples. Sample inclusion probabilities might have been unequal and thus observations from different strata should have different weights. Application of propensity score ... [Read more...]

Alluvial diagrams

March 27, 2014 | Michał

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 ... [Read more...]

Gadka na SERze

March 9, 2014 | Michał

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 ... [Read more...]

Package intergraph goes 2.0

May 9, 2013 | Michał

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 ... [Read more...]

R Color Reference Sheet

April 16, 2013 | Michał

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 ... [Read more...]

Brokering Closure is moving

August 10, 2012 | Michał

Dear readers, this blog is moving out from to a new location. The new address is Please update your bookmarks. Drodzy czytelnicy, blog “Brokering Closure” wyprowadza się z pod nowy adres: Zaktualizujcie swoje linki/zakładki. Filed under: ... [Read more...]

Correction to intergraph update

June 19, 2012 | Michał

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 “... [Read more...]

Updates to package ‘intergraph’

June 18, 2012 | Michał

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 ... [Read more...]

SNA with R workshop at Sunbelt XXXII in Redondo Beach

March 13, 2012 | Michał

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 ... [Read more...]

Package ‘intergraph’ (1.1-0) released!

September 20, 2011 | Michał

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 (... [Read more...]

Shortest paths to/from nodes of a certain type

September 14, 2011 | Michał

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 ... [Read more...]

R Studio

March 8, 2011 | Michał

                      If you think that R is The EnvironmentForStatisticalAnalysisAndGraphics but you do not think that Vim is The Editor for text files you might want to have a look at R Studio. It works on Windows, MacOS and Linux. I tried it out on my Ubuntu [...] [Read more...]

R with Vim

December 2, 2010 | Michał

For all those who think that Vim is The Editor for text files, and simultaneously think that R is The EnvironmentForStatisticalAnalysisAndGraphics. After trying out various options for intergrating Vim with R I settled on the following configuration: Use Vim-R-pluginfor editing R code files, R documentation files (*.Rd) as well as ... [Read more...]

intergraph+network: no hacking necessary

November 2, 2010 | Michał

A short update on network+intergraph R packages story: Couple of days ago Carter Butts released a new version of the ‘network’ package (ver. 1.5-1). It has a namespace now. Consequently, the ‘intergraph’ package should work out-of-the-box. There is no need to install my hacked version of the ‘network’ package ... [Read more...]

Sunbelt workshop on SNA in R

October 19, 2010 | Michał

The next Sunbelt Social Networks Conference (XXXI) will take place in February 2011 in St Pete Beach, Florida, USA. The preliminary program is available here. There is still time to submit abstracts (deadline is on October 29, 2010). At the conference I will be teaching the workshop “Introduction to Social Network Analysis with ... [Read more...]

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)