[R] chi square test

R. Michael Weylandt michael.weylandt at gmail.com
Mon Jun 17 11:11:45 CEST 2013


On Mon, Jun 17, 2013 at 10:07 AM, peter dalgaard <pdalgd at gmail.com> wrote:
>
> On Jun 17, 2013, at 10:36 , R. Michael Weylandt wrote:
>>
>> What do you mean 'results of individual cells'? As documented in
>> ?chisq.test, you might be looking for one or more of
>>
>> data.table$observed
>> data.table$expected
>> data.table$residuals
>> data.table$stdres
>>
>> Pick your poison. ;-)
>>
>> MW
>
> Replace with chisq.test(data.table)$observed, etc.
>

D'Oh! Thanks for that, Peter.

MW



More information about the R-help mailing list