orderRef: Reorder the strata from ref perspective

Description Usage Arguments Examples

View source: R/orderRef.R

Description

Reorder the strata from ref perspective

Usage

1
orderRef(strata, d_ref, ref)

Arguments

d_ref

Examples

1
2
3
4
5
6
7
8
9
strata <- c(4, 5, 6)
d_ref <- c( 3.996001, 0.998001, 0.000000)
ref = 6
orderRef(strata,d_ref,ref)

strata <- c(6, 7, 8, 1, 2)
d_ref <- c(0.000000,  0.998001,  3.996001,  8.994001, 15.992001)
ref = 6
orderRef(strata,d_ref,ref)

RJauslin/SystematicSampling documentation built on Feb. 10, 2021, 9:37 a.m.