order functionThe funcional data is ordered w.r.t the sample order of the values of vector.
# S3 method for fdata
order(y,fdataobj,na.last = TRUE, decreasing = FALSE)a sequence of numeric, complex, character or logical vectors, all of the same length, or a classed R object.
fdata class object.
for controlling the treatment of NAs. If TRUE, missing values in the data are put last; if FALSE, they are put first; if NA, they are removed; if "keep" they are kept with rank NA.
logical. Should the sort order be increasing or decreasing?.
order.fdata returns the functional data fdataobj w.r.t. a permutation which rearranges its first argument into ascending or descending order.