Learn R Programming

fdars (version 0.3.3)

is.irregular: Check if an Object is Irregular Functional Data

Description

Check if an Object is Irregular Functional Data

Usage

is.irregular(x)

Value

TRUE if x is of class irregFdata, FALSE

otherwise.

Arguments

x

Any R object.

Examples

Run this code
fd <- fdata(matrix(rnorm(100), 10, 10))
is.irregular(fd)  # FALSE

ifd <- sparsify(fd, minObs = 3, maxObs = 7)
is.irregular(ifd)  # TRUE

Run the code above in your browser using DataLab