Skip to contents

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

Usage

cov(x, ...)

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

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

Arguments

x

A numeric vector / matrix or a dd object.

...

Further arguments forwarded to the underlying method.

Value

A covariance estimate.