This is survey::rake() but with "partial = TRUE" inserted into postStratify()
rakePartial( design, sample.margins, population.margins, control = list(maxit = 10, epsilon = 1, verbose = FALSE), compress = NULL )
design | A survey object |
---|---|
sample.margins | list of formulas or data frames describing sample margins, which must not contain missing values |
population.margins | list of tables or data frames describing corresponding population margins |
control | maxit controls the number of iterations. Convergence is declared if the maximum change in a table entry is less than epsilon. If epsilon<1 it is taken to be a fraction of the total sampling weight. |
compress | If design has replicate weights, attempt to compress the new replicate weight matrix? When NULL, will attempt to compress if the original weight matrix was compressed |
design
NA#> [1] NA