Internal function. Finds the sample mean of the n-vector **y** for use in specifying the prior mean *{\boldsymbolμ}_0*; see Section 2 of the referenced article for further details.

1 | ```
priormeanobs(YI, tobs)
``` |

`YI` |
The N times (n-1) matrix with rows being the values of |

`tobs` |
Row vector of n observation times (in increasing order, same for each subject). |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.