compute_global_inertia: Inertia of a data frame

View source: R/compute_global_inertia.R

compute_global_inertiaR Documentation

Inertia of a data frame

Description

This function allows to compute the inertia of a R data frame

Usage

compute_global_inertia(data)

Arguments

data

a R data frame (all columns are required to be numeric types).

Value

a numeric value representing the total inertia.

Author(s)

Simon CORDE

References

Link to the author's github package repository: https://github.com/Redcart/helda

Examples

result <- compute_global_inertia(mtcars)
result

Redcart/helda documentation built on March 3, 2023, 11:55 p.m.