Check the input data and return a list in the right format.
checkData(data)
An object from the package funData
. It could be a
funData::funData
or funData::irregFunData
object.
A list, where each element represents a curve. Each curve is defined as a list with two entries:
$t Sampling points
$x Observed points
C. Happ-Kurz (2020) Object-Oriented Software for Functional Data. Journal of Statistical Software, 93(5): 1-38 .