Check the input data and return a list in the right format.

checkData(data)

Arguments

data

An object from the package funData. It could be a funData::funData or funData::irregFunData object.

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

C. Happ-Kurz (2020) Object-Oriented Software for Functional Data. Journal of Statistical Software, 93(5): 1-38 .