util_fastSP: unexported functions to support fast calculation of the...

util_fastSPR Documentation

unexported functions to support fast calculation of the stratification pattern with fastSP and fastSP.k

Description

unexported functions to support fast calculation of the stratification pattern with fastSP and fastSP.k

Usage

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 = soa.kernel)

nrt.kernel(s, el)

Rd.kernel(s, el, y)

EDz(D, s, y = 0.01)

Arguments

v

row vector of a full factorial

x

row number of a full factorial in k q-level columns, or vector of such numbers

s

the base for s^el levels

el

the power for s in s^el levels

y

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)

D

design with m columns in s^el levels

kernel

type of kernel

Details

The functions were modified from the code provided with Tian and Xu (2023).

Value

interim results for further functions

References

For full detail, see SOAs-package.

Tian, Y. and Xu, H. (2023+)


bertcarnell/SOAs documentation built on Nov. 21, 2023, 11:25 a.m.