Skip to content

Commit fc8ae17

Browse files
committed
Use CoDa.components in logratio transforms
1 parent 4fe9fc6 commit fc8ae17

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/transforms/logratio/alr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ newvars(::ALR, names) = Symbol.(:ARL, 1:(length(names) - 1))
2222

2323
applymatrix(::ALR, X) = mapslices(alr Composition, X, dims=2)
2424

25-
revertmatrix(::ALR, Y) = mapslices(components alrinv, Y, dims=2)
25+
revertmatrix(::ALR, Y) = mapslices(CoDa.components alrinv, Y, dims=2)

src/transforms/logratio/clr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ newvars(::CLR, names) = Symbol.(:CLR, 1:length(names))
1515

1616
applymatrix(::CLR, X) = mapslices(clr Composition, X, dims=2)
1717

18-
revertmatrix(::CLR, Y) = mapslices(components clrinv, Y, dims=2)
18+
revertmatrix(::CLR, Y) = mapslices(CoDa.components clrinv, Y, dims=2)

src/transforms/logratio/ilr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ newvars(::ILR, names) = Symbol.(:ILR, 1:(length(names) - 1))
2222

2323
applymatrix(::ILR, X) = mapslices(ilr Composition, X, dims=2)
2424

25-
revertmatrix(::ILR, Y) = mapslices(components ilrinv, Y, dims=2)
25+
revertmatrix(::ILR, Y) = mapslices(CoDa.components ilrinv, Y, dims=2)

0 commit comments

Comments
 (0)