diff8nbn: returns a score of the difference between two /nbn/s
Description
Returns a positive scalar value measuring, in some way, the
difference existing within two /nbn/s sharing the same structure.
Usage
diff8nbn(nbn1, nbn2, type=1, scalar=TRUE)
Value
Either a scalar or a named vector (according to scalar).
Arguments
nbn1
First nbn object.
nbn2
Second nbn object.
type
When 1, the score includes the difference between the
sigmas. When -1, sigmas are not taken into account.
scalar
When TRUE the squared norm is returned, if not
the vector of difference.
Details
For type==1 it is the canonical euclidian difference between
all parameters, including the sigma. The score to use to
measure the differences between two successive estimations is not
well established (see the code).