Description Usage Arguments Details Value Examples
Extension of base_lr_transforms
to arrays over arbitrary
margins.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | glr_array(x, V, parts, dimname = colnames(V))
glrInv_array(y, V, coords, dimname = rownames(V))
alr_array(x, d = dim(x)[parts], parts)
alrInv_array(y, d = dim(y)[coords] + 1, coords)
ilr_array(x, V = NULL, parts)
ilrInv_array(y, V = NULL, coords)
clr_array(x, parts)
clrInv_array(y, coords)
|
x |
multidimensional array in simplex |
V |
transformation matrix (defines transform) |
parts |
index of dimension of |
dimname |
character vector of dimension name for resulting dimension after transformation |
y |
multidimensional array in transformed space |
coords |
index of dimension of |
d |
for ALR, which component (integer position) to take as reference (default is ncol(x)) for alrInv corresponds to column position in untransformed matrix. |
accelerated for parts OR coords == 1
array
1 2 3 | a <- array(1:100, dim=c(10, 5, 2))
a <- miniclo_array(a, parts=2)
clr_array(a, parts=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.