unexported functions to support fast calculation of the stratification pattern with fastSP and fastSP.k
nrt.wt(v)nrt.wtx(x, s, el)
nrt.dist1(x, y, s, el)
nrt.dist(x, y, s, el)
soa.contr(s, el = 1)
soa.kernel(s, el, y)
EDy(D, s, y = 0.01, kernel = Rd.kernel)
nrt.kernel(s, el)
Rd.kernel(s, el, y)
interim results for further functions
row vector of a full factorial
row number of a full factorial in k q-level columns, or vector of such numbers
the base for s^el levels
the power for s in s^el levels
row number of a full factorial in k q-level columns, or
vector of such numbers; or an arbitrary number
(in soa.kernel, EDy, Rd.kernel)
design with m columns in s^el levels
type of kernel
The functions were modified from the code provided with Tian and Xu (2023).
For full detail, see SOAs-package.
Tian, Y. and Xu, H. (2023+)