| ... | @@ -49,8 +49,20 @@ Simulated function in survey complex design |
... | @@ -49,8 +49,20 @@ Simulated function in survey complex design |
|
|
- Extract to R project directory
|
|
- Extract to R project directory
|
|
|
|
|
|
|
|
2. Dependencies
|
|
2. Dependencies
|
|
|
- Open R and install package “dplyr”
|
|
- Open R
|
|
|
|
- Install package dplyr
|
|
|
|
|
|
|
|
```
|
|
|
|
install.packages('dplyr')
|
|
|
|
```
|
|
|
3. Run the function
|
|
3. Run the function
|
|
|
|
- SRSWOR
|
|
|
|
|
|
|
|
```
|
|
|
|
resampling_srs(data, prop,iterasi)
|
|
|
|
```
|
|
|
|
- One Stage Cluster (SRSWOR)
|
|
|
|
|
|
|
|
|
- Two Stage Cluster (SRSWOR-SRSWOR)
|
|
|
|
|
|
|
|
 |
|
- Two Stage Cluster (PPSWR-SRSWOR) |
|
\ No newline at end of file |
|
\ No newline at end of file |