This function wraps the .C call to EXPOKIT for the itscale5 function.
expokit_itscale5_wrapper(SXT, ngroups, ntraits, const, prior,
prob, entropy, niter, tol, denom)
res
A list of outputs
is a Groups (rows) X Traits (columns) matrix
is an integer (nb: NJM's interpretation)
is an integer (nb: NJM's interpretation)
is a vector of the constraint values (means, variances)
is the prior distribution
is the return vector of the maximum entropy
is the maximum entropy probabilities
is the number of iterations required
is the convergence tolerance value; tolerance is mean square difference
are final moments
Nicholas J. Matzke nickmatzke.ncse@gmail.com
The itscale5 function is in the "itscale5.f" FORTRAN file. itscale5 is used by
the FD::maxent function.
The maxent function is used by BioGeoBEARS, merely to provide a simple method
of putting flat or skewed probability distributions on the ordered categorical variable
"size of smaller daughter range").
As the package FD has a number of other dependencies, some of which cause problems on
some machines, I am just including maxent and itscale5 here, in order to avoid
"dependency hell".
I am putting it in rexpokit rather than BioGeoBEARS, to make rexpokit the only package using FORTRAN code (which has a list of its own issues).
maxent