powered by
Generic function to compute the variance and standard deviations. The default uses stats::var() and stats::sd().
stats::var()
stats::sd()
sd(object, ...)# S3 method for default sd(object, ...)# S3 method for dfts sd(object, type = "pointwise", ...)var(object, ...)# S3 method for default var(object, ...)# S3 method for dfts var(object, type = c("operator", "pointwise"), ...)
# S3 method for default sd(object, ...)
# S3 method for dfts sd(object, type = "pointwise", ...)
var(object, ...)
# S3 method for default var(object, ...)
# S3 method for dfts var(object, type = c("operator", "pointwise"), ...)
Numeric(s) to explain the standard deviation / variance
Object for computation of standard deviation or variance of the given data set.
Additional parameters for the particular extensions.
String to specify if an operator ('op') or pointwise ('pw') calculation is desired on the functional data.
stats::sd(), stats::var()
sd(1:10) var(1:10) sd(electricity, type = "pointwise") var(electricity, type = "pointwise") var(electricity, type = "operator")
Run the code above in your browser using DataLab