Convert comprehensive lists into ssfcov objects.

list2cai(data)

Arguments

data

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

  • $t Sampling points

  • $x Observed points

Value

A dataframe where the columns are:

  • time Observation times.

  • x Observation values.

  • subject Observation id.

References

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