I have some data in my C code, I want to execute chi-square test on those
data. I tried implementing pchisq() function making use of header files R.h,
Rhead.H and Rinternals.h, but it neither gave me the result nor threw any
errors. It just returned 0 or 1. 

Could you please help me how can I implement those functions ? 

I am attaching the test-code herewith. ( For test purposes, I have been
inputting the data here). 
http://www.nabble.com/file/p25788093/CforR.c CforR.c 
-- 
View this message in context: 
http://www.nabble.com/Help-with-pchisq-function-tp25788093p25788093.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to