f.mean
computes the sample functional mean and f.var
the sample
functional variance by default.
f.mean(x, ...)
# S3 method for npf.data
f.mean(x, na.rm = TRUE, ...)
f.var(x, ...)
# S3 method for npf.data
f.var(x, mean = f.mean(x, na.rm = na.rm), na.rm = TRUE, ...)
a functional data object.
further arguments passed to or from other methods.
logical; indicating whether NA
values should be ignored.
numeric; mean estimates at the discretization points.
Return a vector with the corresponding estimates at the discretization points.
f.var.npf.data()
computes the sample functional variance by default,
using the denominator \(n - 1\)
(alternatively, setting mean = 0
may be appropriate for residuals or
mean = predict(fit)
, for computing a residual functional variance).