Description Usage Arguments Value
Sample and outputs a data.frame with desired technique and size.
| 1 2 | selectSample(data, stratum = NULL, method, size, seed,
  resample.data = NULL)
 | 
| data | The data.frame containing the population data. | 
| stratum | A vector with strata variable names. | 
| method | Select between  | 
| size | The size of sample. Must provide a vector if the sample is stratified. | 
| seed | The seed for the random generator. | 
| resample.data | A data frame used as pilot sample. Its useful to ignore the observations sampled before and to maintain the original fpc. | 
A data.frame additionally with Prob and fpc columns. If the systematic
method of selection has been chosen, returns the k and cumulated k also.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.