Re: [R] Percentage area of a distribution

2007-05-01 Thread Alan Gibson
let me amend my previous message to remove a silly mistake: I have a (non-normal) distribution S that is a mixture of two normal distributions C and C-bar. I need to find the percentage of the area of S that both C and C-bar occupy. Thanks again, Alan Gibson On 5/1/07, Leeds, Mark (IED) <[EM

[R] Percentage area of a distribution

2007-05-01 Thread Alan Gibson
It seems like this should be pretty straight forward, but for some reason the answer escapes me. I have a normal distribution S made up of two normal distributions C and C-bar. I need to find the percentage of the area of S that both C and C-bar occupy. Any suggestions? Thanks in advance, Alan

[R] Package for common rater agreement statistics?

2007-04-04 Thread Alan Gibson
statistics, but F1 doesnt appear to be one of them. ROCR appears to do all of reliability statistics that one could want, but there appears to be no way to print them out as text; it only produces graphs. Thanks, alan gibson __ R-help@stat.math.ethz.ch

[R] Document classes with tm

2007-03-05 Thread Alan Gibson
does anyone have any tips for using the tm package for supporting autoclassifying textual documents? while tm works very well for parsing text documents and creating term-document matrices, it doesnt seem to support tracking document classes by default. without a way to know the classes of your tra

Re: [R] Crosstab from sql dump

2006-12-30 Thread Alan Gibson
looking for. for the record, it is probably a good idea to specify which column is values and which is group indicator like 'unstack(read.table('/tmp/crap', header=TRUE), "code ~ name")' in case your columns are in a different order. alan On 12/30/06, Dieter Menne &

[R] Crosstab from sql dump

2006-12-30 Thread Alan Gibson
Hello all,, Im looking for a simple function to produce a crosstab from a dumped sql query result. Its very hard to produce crosstabs with most databases (Access being the exception), so with the vast array of R packages, Im sure this has to have already been implemented somewhere. Examples are a