Internal function. Finds the sample mean of the n-vector y for use in specifying the prior mean ${\boldsymbol\mu}_0$; see Section 2 of the referenced article for further details.
Usage
priormeanobs(YI, tobs)
Arguments
YI
The N times (n-1) matrix with rows being the values of $y_i, i=1\ldots, n-1$ for the N subjects
tobs
Row vector of n observation times (in increasing order, same for each subject).