Basic methods for class SansSouciStruct
Source: R/SansSouciStruct-class.R
SansSouciStruct-methods.Rd
Basic methods for class SansSouciStruct
nHyp
: get the number of hypotheses
nLeaves
: get the number of leaves
label
Get the label of a post hoc method
pValues
: get p-values
Examples
s <- 100
q <- 7
m <- s*2^q
obj <- SansSouciDyadic(m, leaf_size = s, direction = "top-down")
nHyp(obj)
#> [1] 12800
nLeaves(obj)
#> [1] 128
mu <- gen.mu.leaves(m = m, K1 = 8, d = 0.9, grouped = TRUE,
setting = "const", barmu = 3, leaf_list = obj$input$leaves)
pvalues <- gen.p.values(m = m, mu = mu, rho = 0)
alpha <- 0.05
res <- fit(obj, alpha, pvalues, "DKWM")
label(res)
#> [1] "DKWM(tree)"
str(pValues(res))
#> num [1:12800] 4.21e-05 3.03e-02 9.77e-02 3.03e-05 1.54e-05 ...