[EMAIL PROTECTED] asked:

> Surely, I just have a mental block and there is a more elegant way of
> creating a summary count (other than extracing it from ftable). I'd like
> to create a new data.frame containing counts of spell by loc ie have
> three columns showing spell,loc,count. Below the data.frame...

perhaps as.data.frame.table(table(spell,loc))

-- 
| David Duffy (MBBS PhD)                                         ,-_|\
| email: [EMAIL PROTECTED]  ph: INT+61+7+3362-0217 fax: -0101  /     *
| Epidemiology Unit, Queensland Institute of Medical Research   \_,-._/
| 300 Herston Rd, Brisbane, Queensland 4029, Australia  GPG 4D0B994A v

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to