powered by
The WHICH1 function returns the positions in which the vector components (V1) are located in another vector (V2).
WHICH1(V1,V2)
This function is used to extract the positions of all the individuals that are part of the selected clusters, in a cluster sampling.
Vector initial.
Vector containing replicates of the components of the initial vector.
Jorge Alberto Barón Cárdenas <jorgeabaron@correo.unicordoba.edu.co>
Guillermo Martínez Flórez <guillermomartinez@correo.unicordoba.edu.co>
Särndal, C. E., J. H. Wretman, and C. M. Cassel (1992). Foundations of Inference in Survey Sampling. Wiley New York.
Cochran, W. G. (1977). Sampling Techniques, 3ra ed. New York: Wiley.
Thompson, S. K. (1945). Wiley Series in Probability and Statistics, Sampling, 1ra ed. United States of America.
cong<-rep(1:12,each=10) Argt<-list(NI=12,nI=3) selection<-CONGL(Argt=Argt,design="MAS") WHICH1(selection$Ksel,cong)
Run the code above in your browser using DataLab