get_sampling: Select sampling clusters using systematic sampling

get_sampling_clustersR Documentation

Select sampling clusters using systematic sampling

Description

Select sampling clusters using systematic sampling

Usage

get_sampling_clusters(N_clusters, n_clusters)

get_sampling_list(cluster_list, n_clusters)

Arguments

N_clusters

Total number of clusters in survey area.

n_clusters

Number of sampling clusters to be selected.

cluster_list

A data.frame containing at least the name or any other identifier for the entire set of clusters to sample from.

Value

An integer vector for get_sampling_clusters() giving the row index for selected clusters. A data.frame for ⁠[get_sampling_list()]⁠ which is a subset of cluster_list.

Examples

get_sampling_clusters(N_clusters = 211, n_clusters = 35)
get_sampling_list(cluster_list = village_list, n_clusters = 70)


rapidsurveys/sleacr documentation built on Feb. 7, 2025, 8:22 a.m.