Skip to content

Commit

Permalink
Improved documentation for sampling_method (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
wleoncio committed Sep 11, 2024
1 parent 9e5d3fc commit 36e9171
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/cluster_gen.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' @param c_mean vector of means for the continuous variables or list of vectors for the continuous variables for each level. Defaults to 0, but may change if `rho` is set.
#' @param sigma vector of standard deviations for the continuous variables or list of vectors for the continuous variables for each level. Defaults to 1, but may change if `rho` is set.
#' @param cor_matrix Correlation matrix between all variables (except weights). By default, correlations are randomly generated.
#' @param sampling_method can be "SRS" for Simple Random Sampling, "PPS" for Probabilities Proportional to Size, or "mixed" to use SRS for students and PPS otherwise or a vector with the sampling method for each level
#' @param sampling_method can be "SRS" for Simple Random Sampling, "PPS" for Probabilities Proportional to Size, "mixed" to use PPS for schools and SRS otherwise, or a vector with the sampling method for each level
#' @param rho intraclass correlation (scalar, vector or list, as appropriate)
#' @param theta if \code{TRUE}, the first continuous variable will be labeled
#' 'theta'. Otherwise, it will be labeled 'q1'.
Expand Down
2 changes: 1 addition & 1 deletion man/cluster_gen.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/cluster_gen_separate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/cluster_gen_together.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 36e9171

Please sign in to comment.