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

View source: R/utils.R

checkDataR Documentation

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

Description

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

Usage

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 .


StevenGolovkine/funestim documentation built on June 15, 2022, 3:42 a.m.