Skip to content

surveyplanning

Survey Planning Tools

v4.0 · May 20, 2020 · GPL (>= 2)

Description

Tools for sample survey planning, including sample size calculation, estimation of expected precision for the estimates of totals, and calculation of optimal sample size allocation.

Downloads

CRAN

697

Last 30 days

4768th

1.6K

Last 90 days

8.4K

Last year

Trend: +49.3% (30d vs prior 30d)

r2u CRAN

30

Last 30 days

124

Last 90 days

450

Last year

Trend: -25% (30d vs prior 30d)

autoCRAN

7

Last 7 days

15

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 NOTE
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 NOTE
r-release-macos-x86_64 NOTE
r-release-windows-x86_64 NOTE
Check details (13 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-devel-linux-x86_64-debian-gcc

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces
    24 | \item{Dom}{Variables}{used to define population domains. An object convertible to \code{data.table} or variable names as character vector, column numbers.}
       |                      ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:26: Lost braces
    26 | \item{pop}{The}{population size in each stratum.}
       |                ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:28: Lost braces
    28 | \item{R}{The}{expected response rate in each stratum (optional). If not defined, it is assumed to be 1 in each stratum (full-response). Object convertible to one-column \code{data.table}, variable name as character, or column number.}
       |              ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:30: Lost braces
    30 | \item{de
...[truncated]...
llocation.Rd:32: Lost braces
    32 | \item{se_max}{Variable}{for maximum standarterror (se) in domain.}
       |                        ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:34: Lost braces
    34 | \item{prop}{The}{excepted ratio proportion.}
       |                 ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:36: Lost braces
    36 | \item{min_size}{A}{numeric value for minimal sample size.}
       |                   ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:38: Lost braces
    38 | \item{step}{A}{value for pace.}
       |               ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:40: Lost braces
    40 | \item{unit_level}{A}{logical value, if dataset is prepared for unit level then value TRUE, othercase FALSE.}
       |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^

Check History

NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-devel-linux-x86_64-debian-gcc

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) MoE_P.Rd:22: Lost braces
    22 | \item{confidence}{Optional}{positive value for confidence interval. This variable by default is 0.95.}
       |                            ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:24: Lost braces

...[truncated]...
  |                     ^
checkRd: (-1) prop_dom_optimal_allocation.Rd:42: Lost braces
    42 | \item{dataset}{Optional}{agrregated survey data object convertible to \code{data.table} with one row for each stratum.}
       |                         ^

Code

Structure

Lines of code

2,155

Files

32

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,390 (64.5%)Docs 765 (35.5%)

API

Exported functions

11

Internal functions

1

Recent export changes

v3.0+1 round2
v2.9+4 min_count, min_prop, MoE_P +1 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

33.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.0.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

16

First release

2015-11-04

Latest release

2020-05-20

Avg cadence

41 days

Cold removal rate

100%

Dep drift

2

LOC over versions

v0.2: 674 LOCv0.6: 968 LOCv0.8: 973 LOCv1.0: 1,131 LOCv1.2: 1,130 LOCv1.4: 1,130 LOCv1.6: 1,131 LOCv1.8: 1,132 LOCv2.0: 1,314 LOCv2.2: 1,298 LOCv2.4: 1,290 LOCv2.6: 1,354 LOCv2.8: 1,371 LOCv2.9: 1,659 LOCv3.0: 2,079 LOCv4.0: 2,155 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies data.table laeken vardpoor surveyplanning

Version History

17 tracked
new 4.0 Mar 10, 2026
updated 4.0 ← 3.0 diff May 19, 2020
updated 3.0 ← 2.9 diff May 2, 2019
updated 2.9 ← 2.8 diff Oct 25, 2017
updated 2.8 ← 2.6 diff Mar 10, 2017
updated 2.6 ← 2.4 diff Dec 7, 2016
updated 2.4 ← 2.2 diff Oct 23, 2016
updated 2.2 ← 2.0 diff Oct 18, 2016
updated 2.0 ← 1.8 diff Jul 31, 2016
updated 1.8 ← 1.6 diff Jul 3, 2016
updated 1.6 ← 1.4 diff May 23, 2016
updated 1.4 ← 1.2 diff Apr 13, 2016
updated 1.2 ← 1.0 diff Feb 1, 2016
updated 1.0 ← 0.8 diff Dec 22, 2015
updated 0.8 ← 0.6 diff Nov 29, 2015