There are several estimation cases covered by the inputs x.scl
and g.x.scl
:
(1) g(0) = 1 (the default): Inputs are x.scl
= 0, g.x.scl
= 1.
Note that x.scl
will be set to w.lo
, which is not necessarily 0.
(2) User specified g(x.scl
) = g.x.scl
: Inputs are x.scl
= a number greater than or equal
to w.lo
, g.x.scl
=
a number between 0 and 1.
(3) Maximum g() specified: Inputs are x.scl
="max", g.x.scl
= a number between 0 and 1. In this case,
g() is scaled such that g(x.max) = g.x.scl
, where x.max is the distance that maximizes g.
x.max is computed and returned.
(4) Maximum g() estimated by double observer system: Inputs are x.scl
="max", g.x.scl
= a data frame.
In this case, g(x.max) = h, where x.max is the distance that maximizes g and h is the height of g() at x.max.
h is computed from the double observer data frame (see below for structure of the double observer data frame).
(5) Distance of independence specified, height computed from double observer system: Inputs are
x.scl
= a number greater than or equal to w.lo
g.x.scl
= a data frame. In this case, g(x.scl
) = h, where h is computed from the double observer data frame
(see below for structure of the double observer data frame).
When x.scl
, g.x.scl
, or observer
are NULL, the routine will look for $call.x.scl
, or $call.g.x.scl
, or
$call.observer
components of the fit
object. This means the 3 parameters to be specified
during the original call to F.dfunc.estim
. Later, different values can be specified in a call to F.gx.estim
without having to re-estimate the distance function. Because of this feature, the default values of x.scl
= 0 and
g.x.scl
= 1 and observer
= "both" are specified in the call to F.dfunc.estim
.
Structure of the double observer data frame: When g.x.scl
is a data frame, it is assumed to contain
the components $obsby.1
and $obsby.2
(no flexibility on names).
These components are TRUE/FALSE (logical) vectors indicating whether
observer 1 (obsby.1
) or observer 2 (obsby.2
) spotted the target.