Skip to contents

Quick helper: sample a batch of subsets (for U-stat / localization experiments) (experimental)

Usage

plqr_demo_subsets(n, K = 1000L, s = 8L, seed = NULL)

Arguments

n

Integer; number of observations.

K

Integer; number of subsets to sample.

s

Integer; subset size (order of the kernel).

seed

Optional integer seed for reproducibility.

Lifecycle

Experimental. PLQR functionality is outside the CATE and regression workflow focus of the initial public release. Its API and inference interfaces may change in later releases.

Examples

plqr_demo_subsets(n = 10, K = 4, s = 3, seed = 1)
#>      [,1] [,2] [,3]
#> [1,]    4    7    9
#> [2,]    1    2    5
#> [3,]    2    3    7
#> [4,]    1    3    5