[R] Do not want to print when using prop.test

Jose Iparraguirre D'Elia Jose at erini.ac.uk
Tue Jan 20 11:52:11 CET 2009


I am using the function prop.test (base package), which returns a list with class "htest". All I want to do is to assign one of its values to a variable, but I do not want R to print the results and added warning message whenever I invoke the function.
How can I prevent R from printing on using prop.test?
Regards,
José Luis

Mr José Luis Iparraguirre
Senior Research Economist
Economic Research Institute of Northern Ireland
2 -14 East Bridge Street
Belfast BT1 3NQ
Northern Ireland
United Kingdom

Tel: +44 (0)28 9072 7365




More information about the R-help mailing list