Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R - plot human body in 2d [closed]

I was wondering if there is a package to plot a 2D representation of the outline of a human body? Being in 2D, plotting either the front/back/side at any one time would presumably be the easiest way to accomplish this. The output would be something similar to this (though this is not the best use of such a diagram):

enter image description here

Source: http://emj.bmj.com/content/20/5/434.full

Ideally, plotting a subset of data as is done for the world with map(regions="Australia") would be possible in the form body.map(regions="left.hand"). In that respect, would it be appropriate to base such a model on the maps package?

like image 948
thelatemail Avatar asked May 20 '12 04:05

thelatemail


1 Answers

I just had a look on clker.com for vector body graphics, and if you search for 'body' you see a lot of possible SVG files you could read in and plot.

Then I spotted this one:

http://www.clker.com/clipart-29915.html

which also links to a lot of 'Derived cliparts' showing similar bodies with other parts outlines. It only seems to be the upper torso, but its a nicely-layered SVG file where all the bits could be drawable individually.

There's also plenty of outline body figures (including, I just found, the male figure that went on the Voyager or Pioneer space probe plaques!) and skeletons, including some very well labelled skeletons impressed.

Organising all this into some kind of "body.map" function should be possible - read in from SVG file, select components, plot - but requires some careful thinking and more specification according to requirements.

like image 115
Spacedman Avatar answered Oct 07 '22 03:10

Spacedman