/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
>>> data = r['read.table']('data.csv') >>> data <RDataFrame - Python:0x44f760 / R:0x2955dc8> >>> print data total sms gprs A 10 4 6 B 9 4 5 C 9 4 5 D 10 5 5 >>> mtx = r['data.matrix'](data) >>> r.dotchart(mtx)