draw dotchart in R


/ Published in: R
Save to your folder(s)



Copy this code and paste it in your HTML
  1. > data = read.table('data.csv')
  2. > data
  3. total sms gprs
  4. A 10 4 6
  5. B 9 4 5
  6. C 9 4 5
  7. D 10 5 5
  8. > mtx = data.matrix(data)
  9. > dotchart(mtx)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.