Definition of the S4 class named UnitAllocParam for the parameters for
the allocation of units to be edited interactively in each population domain under the
optimization approach to selective editing.
Domainsdata.table with a row per domain with the values of the variables determining the domains of the data set.
MaxAllocInteger vector with the maximum number of units to be allocated in each domain.
MinAllocInteger vector with the minimum number of units to be allocated in each domain.
AllocFactorsList with numeric vectors as components containing the proportionality factor of each domain for the allocation.
1 2 3 4 5 6 7 8 | UnitAllocParam <- new(Class = 'UnitAllocParam',
MaxAlloc = as.integer(c(23, 23, 45, 23, 12, 23, 26, 76, 12, 1, 1, 1)),
MinAlloc = rep(2L, length = 12),
AllocFactors = list(c(0.43, 0.12, 0.234, 0.123, 0.934, 0.23, 0.754, 0.423, 0.923, 0.345, 0.512, 0.623),
c(0.43, 0.123, 0.34, 0.3, 0.34, 0.13, 0.954, 0.523, 0.223, 0.445, 0.522, 0.323)),
DomainWeights = c(0.34, 0.12, 0.1, 1, 123, 0.12, 56, 123, 98, 12, 23, 87),
MaxUnits = 265L,
ExcUnits = data.table(NULL))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.