mct
(for multinomial cell
count) is appended with that contains the number of records corresponding to
each row.
micro.post.stratify(dat, round.vars = NULL, rounding.scale = NULL)
round.vars
is to be rounded. For example,
the first variable round.vars[1]
will be divided by
rounding.scale[1]
, then rounded to the nearest whole number, and then
multiplied by rounding.scale[1]
. The net effect is to round to the
nearest multiple of rounding.scale[1]
.dat
except that there are
fewer rows, data values are rounded, and there is a new column mct
, which gives the number of data points corresponding to each row.
rounding.scale
, then rounded
to the nearest whole number, and then multiplied by rounding.scale
.
The net effect is to round to the nearest multiple of rounding.scale