h2o.skewness function

Skewness of a column

Skewness of a column

Obtain the skewness of a column of a parsed H2O data object.

h2o.skewness(x, ..., na.rm = TRUE) skewness.H2OFrame(x, ..., na.rm = TRUE)

Arguments

  • x: An H2OFrame object.
  • ...: Further arguments to be passed from or to other methods.
  • na.rm: A logical value indicating whether NA or missing values should be stripped before the computation.

Returns

Returns a list containing the skewness for each column (NaN for non-numeric columns).

Examples

## Not run: library(h2o) h2o.init() prostate_path <- system.file("extdata", "prostate.csv", package = "h2o") prostate <- h2o.uploadFile(path = prostate_path) h2o.skewness(prostate$AGE) ## End(Not run)
  • Maintainer: Tomas Fryda
  • License: Apache License (== 2.0)
  • Last published: 2024-01-11