Learn R Programming

helda (version 1.1.5)

compute_global_inertia: 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.

References

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

Examples

Run this code
# NOT RUN {
result <- compute_global_inertia(mtcars)
result
# }

Run the code above in your browser using DataLab