Skip to content

Extraction from an output

2 messages · Robert, Chuck Cleland

#
Hello,
Would you tell my how to extract a result from a test - it's justified because I need to run this test many times. Here is an  example from authors' test:
Asymptotic General Independence Test

data:  tumor by dose 
chi-squared = 10.6381, df = 1, p-value = 0.001108


How to use ca.test and extract p-value and chi-squared.

Robert
#
On 1/12/2009 6:42 AM, robert-mcfadden at o2.pl wrote:
[1] 0.001107836
[1] 10.63806

  See the "Value" subsection on the help page for independence_test().