metric.exists: Check if Spatial Summary Exists
Description
Makes sure in processing functions that the spatial summary function has been calculated before running FPCA or models
Usage
metric.exists(mxFDAobject, metric)
Value
a stopped function if slot not in summary functions
Arguments
- mxFDAobject
object of class mxFDA
- metric
a character vector split with and passed by other functions
Details
![[Stable]](figures/lifecycle-stable.svg?package=mxfda&version=0.2.2-1)