sdvar | R Documentation |
Generic function to compute the variance and standard deviations. The default
uses stats::var()
and stats::sd()
.
sd(object, ...)
## Default S3 method:
sd(object, ...)
## S3 method for class 'dfts'
sd(object, type = "pointwise", ...)
var(object, ...)
## Default S3 method:
var(object, ...)
## S3 method for class 'dfts'
var(object, type = c("operator", "pointwise"), ...)
object |
Object for computation of standard deviation or variance of the given data set. |
... |
Additional parameters for the particular extensions. |
type |
String to specify if an operator ('op') or pointwise ('pw') calculation is desired on the functional data. |
Numeric(s) to explain the standard deviation / variance
stats::sd()
, stats::var()
sd(1:10)
var(1:10)
sd(electricity, type = "pointwise")
var(electricity, type = "pointwise")
var(electricity, type = "operator")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.