h2o (version 3.2.0.3)

h2o.sd: Standard Deviation of a column of data.

Description

Obtain the standard deviation of a column of data.

Usage

h2o.sd(x, na.rm = FALSE)

## S3 method for class 'H2OFrame': sd(x, na.rm = FALSE)

Arguments

x
An H2OFrame object.
na.rm
logical. Should missing values be removed?

See Also

h2o.var for variance, and sd for the base R implementation.

Examples

Run this code
localH2O <- h2o.init()
prosPath <- system.file("extdata", "prostate.csv", package="h2o")
prostate.hex <- h2o.uploadFile(localH2O, path = prosPath)
sd(prostate.hex$AGE)

Run the code above in your browser using DataLab