var.eda: Variance of an EDA object.

View source: R/numeric_methods.R

var.edaR Documentation

Variance of an EDA object.

Description

Gets variance of a numeric-type EDA object. For factor-type ones NULL is returned and a warning generated. NAs are removed before computation.

Usage

## S3 method for class 'eda'
var(x, plain = FALSE)

Arguments

x

an EDA object, created by eda.

plain

logical, should the output be coerced to a single vector?

Value

a tibble or a numeric value.


PiotrTymoszuk/ExDA documentation built on Nov. 17, 2024, 5:46 p.m.