[R] ipf function in R

Chandra Shah Chandra.Shah at Education.monash.edu.au
Wed Mar 5 08:14:28 CET 2008


Hi
I have a 3 x 2 contingency table:
10 20
30 40
50 60
I want to update the frequencies to new marginal totals:
100 130
40 80 110
I want to use  the ipf (iterative proportional fitting) function which 
is apparently in the cat package.
Can somebody please advice me how to input this data and invoke ipf in R 
to obtain an updated contingency table?
Thanks.
By the way I am quite new to R.

-- 
 

Dr Chandra Shah
Senior Research Fellow
Monash University-ACER Centre for the Economics of Education and Training
Faculty of Education, Building 6,
Monash University
Victoria
Australia 3800
Tel. +61 3 9905 2787
Fax +61 3 9905 9184

www.education.monash.edu.au/centres/ceet



More information about the R-help mailing list