Skip to content

Do not want to print when using prop.test

2 messages · Jose Iparraguirre D'Elia, Peter Dalgaard

#
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
#
Jose Iparraguirre D'Elia wrote:
message whenever I invoke the function.
By assigning one of its values...
[1] 0.4839273