Allows arithmetic operators “
comparison operators “
==” and “
!=”, to be
used for hyper2 objects.
H1 + H2 implements addition of two log-likelihood
functions, corresponding to incorporation of new observational data;
H1+H1+...+H1, corresponding to
repeated observations of the same data.
There are no unary operations for this class.
1 2 3 4 5 6
Objects of class
Testing for equality is not straightforward for two implementation
reasons. Firstly, the object itself is stored internally as a
map, which does not store keys in any particular
order; and secondly, the
set class is used for the
brackets. A set does not include information about the order of its
elements; neither does it admit repeated elements. See examples.
hyper2 object or a Boolean.
Robin K. S. Hankin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.