Skip to contents

Generic dispatching to stats::var() by default and to fda::var.fd() for dd input.

Usage

var(x, ...)

# Default S3 method
var(x, ...)

# S3 method for class 'dd'
var(x, ...)

Arguments

x

A numeric vector or a dd object.

...

Further arguments forwarded to the underlying method.

Value

A variance estimate; for dd input, an object of class bidd.