powered by
Get the number of samples N and the number of parts D of the compositions in an acomp, rcomp, aplus, rplus object.
acomp
rcomp
aplus
rplus
gsi.getD(x) gsi.getN(x)
an acomp, rcomp, aplus, rplus object or something that could be cast to one of them
an integer giving the number of parts D or the number of samples N.
# NOT RUN { gsi.getD(1:5) #gsi.getN(1:5) NCOL(1:5) NROW(1:5) data(SimulatedAmounts) gsi.getD(sa.lognormals5) #gsi.getN(sa.lognormals5) # }
Run the code above in your browser using DataLab