Computes the Kish design effect and corresponding intra-cluster correlation for a single cluster-sampled variable
variable to analyze
a variable whose unique values indicate cluster membership. Any type of variable is allowed.
a vector with named elements
n (total number of non-missing
clusters (number of clusters after deleting
rho(intra-cluster correlation), and
Department of Biostatistics
1 2 3 4
Loading required package: lattice Loading required package: survival Loading required package: Formula Loading required package: ggplot2 Attaching package: 'Hmisc' The following objects are masked from 'package:base': format.pval, round.POSIXt, trunc.POSIXt, units n clusters rho deff 1.000000e+03 2.600000e+01 1.439064e-03 1.054975e+00
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.