Obtain the standard deviation of a column of data.

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

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

# NOT RUN {
library(h2o)
h2o.init()

prostate_path <- system.file("extdata", "prostate.csv", package = "h2o")
prostate <- h2o.uploadFile(path = prostate_path)
sd(prostate$AGE)
# }