Quantcast
Channel: joy of data » melt
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

Converting a wide structured table into a long format using R

Why do we want to transform a table from wide to long? In the article published yesterday I explained how to fetch statistics from GENESIS using the statistics on death causes as an example. After...

View Article


Image may be NSFW.
Clik here to view.

Converting a 4-dimensional wide table into long format

In my last article about converting a wide table into a long table using reshape’s melt function (recommend reading it first), I promised to soon cover the 4-dimensional case – here you go.  Originally...

View Article

Browsing latest articles
Browse All 2 View Live