Closed RobinHankin closed 1 year ago
Before I forget, it's worth observing that the hyper3
object is does indeed return an evaluate that is symmetric between a
, b
,c
:
suppressMessages(library("hyper2"))
suppressMessages(library("partitions"))
a <- multiset(c(1,1,2,2,3))
a[] <- letters[a]
H <- Reduce("+",apply(a,2,ordervec2supp3))
maxp(H)
#> a b c
#> 0.3333333 0.3333333 0.3333333
Created on 2023-06-26 with reprex v2.0.2
Following issue #148:
Created on 2023-06-26 with reprex v2.0.2
Above I would expect a
hyper3
object but get ahyper2
object. Look:Created on 2023-06-26 with reprex v2.0.2
Above we see that only the final call,
Reduce("+",jj)
actually gives ahyper3
object. What is going on here?