Displaying 4 results from an estimated 4 matches for "marginsums".
2008 Mar 05
3
ipf function in R
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
2020 Apr 24
0
R 4.0.0 is released
...1950.
* memCompress() and memDecompress() support long raw vectors for
types "gzip" and "zx".
* sweep() and slice.index() can now use names of dimnames for their
MARGIN argument (apply has had this for almost a decade).
* New function proportions() and marginSums(). These should replace
the unfortunately named prop.table() and margin.table(). They are
drop-in replacements, but also add named-margin functionality.
The old function names are retained as aliases for
back-compatibility.
* Functions rbinom(), rgeom(), rhyper(), rpois...
2020 Apr 24
0
R 4.0.0 is released
...1950.
* memCompress() and memDecompress() support long raw vectors for
types "gzip" and "zx".
* sweep() and slice.index() can now use names of dimnames for their
MARGIN argument (apply has had this for almost a decade).
* New function proportions() and marginSums(). These should replace
the unfortunately named prop.table() and margin.table(). They are
drop-in replacements, but also add named-margin functionality.
The old function names are retained as aliases for
back-compatibility.
* Functions rbinom(), rgeom(), rhyper(), rpois...
2020 Apr 24
0
R 4.0.0 is released
...1950.
* memCompress() and memDecompress() support long raw vectors for
types "gzip" and "zx".
* sweep() and slice.index() can now use names of dimnames for their
MARGIN argument (apply has had this for almost a decade).
* New function proportions() and marginSums(). These should replace
the unfortunately named prop.table() and margin.table(). They are
drop-in replacements, but also add named-margin functionality.
The old function names are retained as aliases for
back-compatibility.
* Functions rbinom(), rgeom(), rhyper(), rpois...