Bayes-space relative density
relative.RdGeneric relative(e1, e2) returns the Bayes-space ratio of two
densities. The default method dispatches to fda::minus.fd() on the
clr-transformed log-densities.
Usage
relative(e1, e2, ...)
# S3 method for class 'dd'
relative(e1, e2, ...)
# S3 method for class 'ddl'
relative(e1, e2, ...)