View source: R/miscellaneous.R
obtain_hypercube_vertices | R Documentation |
Obtains the vertices of the hypercube given Bessel layer information
obtain_hypercube_vertices( bessel_layers, vector = rep(0, dim), transform_mat = diag(1, dim), dim, one_point = FALSE )
bessel_layers |
a list of length dim where list[[d]] is the Bessel layer for component d, which is a list of length 4 where L denotes the hard lower bound, l denotes the soft lower bound, u denotes the soft upper bound and U denotes the hard upper bound |
vector |
vector of length dim which we check in each dimension if it occurs within the bounds - default is rep(0, dim) |
transform_mat |
dim x dim transformation matrix which is applied to the vertices - default is diag(1, dim) |
dim |
dimension |
one_point |
logical value (default is FALSE). If TRUE, only returns one point of the hypercube vertex (the one where we take the lower Bessel layer in each dimension). This is useful for when only one hypercube corner is necessary (e.g. higher dimensional problems in logistic regression and NB regression) |
A list of length 2 with
matrix where each row is a vertex of the hypercube
matrix where each row is a vertex of the hypercube including points crossing the vector in each dimension
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.