<br><br><div><span class="gmail_quote">2007/2/23, Thomas Friedrichsmeier <<a href="mailto:thomas.friedrichsmeier@ruhr-uni-bochum.de">thomas.friedrichsmeier@ruhr-uni-bochum.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Friday 23 February 2007 21:21, I. Soumpasis wrote:<br>> I disagree here because of the meaning of the data. Pareto chart is used<br>> when you have data like this<br>> A B C D E F<br>> 1 1 1 2 2 3<br>> Suppose that the above is type of defects, you can take the pareto chart
<br>> with the most serious of them. It has a different approach of the barplot.<br>> The summary(factor) gives the the factor variable in this way to help the<br>> user not to have to make a new variable in order to use the plugin.
<br><br>True, but summary (factor) is essentially identical to table (factor). (More<br>precisely: table (factor, exclude=NULL) to keep the NAs, so that would be<br>more correct).<br><br>> But the pareto.chart (and the plugin) is meaningless for
<br>> a <- rep (c (1, 1, 1, 2, 2, 3), length.out=100)<br><br>But what if 1, 2 and 3 are actually three different types of failures (and the<br>user simply didn't define this as a factor)? Or a count of defects on a
<br>single unit (perhaps pixel errors on an LCD, and the defect count influences<br>the sale category), so it's actually reasonable to store in a vector instead<br>of a factor? In these cases, table sums them up nicely, as:
<br><br>> table (a)<br>a<br> 1  2  3<br>51 33 16<br><br>> If these are the names the user must make them factor  so to make a<br>> pareto.chart() and use the plugin.<br><br>The question I'm having is this:<br>
Are there any vectors (not factors, and not tables) that could meaningfully be<br>displayed as raw data? If not, then either the plugin should not accept<br>vectors at all, or it should convert them to something that it can display in
<br>a meaningful way. If there are, then it may still be worth considering,<br>whether the type of data I suggested should not be supported in some way as<br>well, perhaps with a "tabulate" option.</blockquote><div>
<br>I used the table option as you proposed. I do not know all the probable uses of pareto.chart, but the most common, so I cannot say anything for sure.<br><br>Regards,<br>Ilias<br></div><br></div><br>