M-step to maximize theta
This is a utility function for
mstep(x, theta, phi)
a zero-one indicator matrix whose rows correspond to unique lengths with rownames indicating those lengths
a vector of the abundance estimates.
a vector of the probabilities of sonicant lengths.
The M-step for theta is computed. Probably, there is no need to use this function directly, but just in case it is here.
a vector like the input
Charles C. Berry
1 2 3 4 5