Convert ssfcov objects into the right format.

cai2list(time, x, subject)

Arguments

time

Vector, observation times.

x

Vector, observation values.

subject

Vector, observation id.

Value

A list, where each element represents a curve. Each curve is defined as a list with two entries:

  • $t Sampling points

  • $x Observed points

References

ssfcov, R package. See Cai and Yuan, Nonparametric Covariance Function Estimation for Functional and Longitudinal Data - 2010 (Technical Report).