Re: [R] Histogram + % of cases for a given criteria

2009-05-14 Thread S. Nunes
Hi, Thanks for the contribution. I tested the code but I got a couple or errors. I'll try to debug these in the next days. Maybe there is a simpler approach to what I am trying to do. I have a bunch of measures and a column with the success of the case (1/0). I simply want to evaluate my measure

Re: [R] Histogram + % of cases for a given criteria

2009-05-14 Thread Jim Lemon
S. Nunes wrote: Hi all, I am doing some explorations using a dataset with the following structure (id, value, flag). For instance: a, 2.2, 1 b, 3.0, 1 c, 2.9, 0 d, 3.1, 1 ... I have plotted a standard histogram using a simple command like: hist(data$value) My question: I would like to superi

[R] Histogram + % of cases for a given criteria

2009-05-13 Thread S. Nunes
Hi all, I am doing some explorations using a dataset with the following structure (id, value, flag). For instance: a, 2.2, 1 b, 3.0, 1 c, 2.9, 0 d, 3.1, 1 ... I have plotted a standard histogram using a simple command like: hist(data$value) My question: I would like to superimpose a line ([0%-

[R] Histogram + % of cases for a given criteria

2009-05-13 Thread S. Nunes
Hi all, I am doing some explorations using a dataset with the following structure (id, value, flag). For instance: a, 2.2, 1 b, 3.0, 1 c, 2.9, 0 d, 3.1, 1 ... I have plotted a standard histogram using a simple command like: hist(data$value) My question: I would like to superimpose a line ([0%-