depthgram()
function computes a number of depthgrams from the functional data set.
An S3 specialized method for plot()
makes it possible to visualize the depthgrams and proceed with a visual
inspection at outliers.R CMD check on Windows, macOS and Linux
for both the latest release and the development version of R.README.matrix class checks for compliance with
R-4.0 in which the matrix class inherits from the
array class.fbplot() display.fbplot in the
corner-case of zero outliers.[ operator overload for multivariate functional
dataset representation mfData.cor_spearman() function. Now the standard
Spearman correlation is not computed on ranks of MHI/MEI, but on MHI/MEI
itself. The difference is very small, but allows for full
reproducibility of the results in the original paper.fData() and
mfData() constructor.fData in time with
logical vectors.BD, BD_relative,
HI and EI: the previous computational
technique was based on arguments from the popular reference “Exact fast
computation of band depth for large functional datasets: How quickly can
one million curves be ranked?” by Sun, Genton and Nychka, which in the
case of BD, and HI/EI are wrong. Now the implementation exploited sticks
to the definition, at the cost of a higher computational burden (and
thus, time to complete the computation).fData object. Before it was:all(abs(diff(unique(diff(grid)))) < 1e-14)Now it is:
max(diff(unique(diff(grid)))) / diff(range(grid)) < 1e-13which is much more robust in practical cases.
README.md.cov_fun method to compute covariance and
cross-covariance functions for either univariate or multivariate
functional data. Implemented the S3 class Cov
and plotting specialization plot.Cov, wrapping
graphics::image.trial_size in
fbplot from Data$N to
8 * Data$N.fbplot and outliergram that
raises warnings when parameters different than those supported are
provided through adjust argument.