priormeanobs: prior mean

Description Usage Arguments

View source: R/priormeanobs.R

Description

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.

Usage

1
	priormeanobs(YI, tobs)

Arguments

YI

The N times (n-1) matrix with rows being the values of y_i, i=1…, n-1 for the N subjects

tobs

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


growthrate documentation built on May 2, 2019, 3:43 p.m.