Hi list,
I need some help in creating an R dendrogram from Python using RPy.
>From the R documentation [1] I get that a dendrogram object in R is just a
nested list with non-list elements being objects with at least the following
compulsory attributes:
- 'members'
- 'height'
- 'leaf'
I must admit that I'm completely new to R and RPy. But by reading a bit the
RPy doc I tried the following naive conversion of the most simple dendrogram:
from rpy import *
rdend = r.as_dendrogram({'members':1, 'height':0.5, 'leaf':True})
Could someone shed some light on how this should be done? and for a bit more
complex dendrograms?
Thanks!
ricard
[1]
http://astrostatistics.psu.edu/datasets/2006tutorial/html/stats/html/dendrogram.html
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list