powered by
Check if an Object is Irregular Functional Data
is.irregular(x)
TRUE if x is of class irregFdata, FALSE
TRUE
x
irregFdata
FALSE
otherwise.
Any R object.
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