Obtain the standard deviation of a column of data.
h2o.sd(x, na.rm = FALSE) sd(x, na.rm = FALSE)
x | An H2OFrame object. |
---|---|
na.rm |
|
h2o.var
for variance, and sd
for the base R implementation.
# NOT RUN { h2o.init() prostate_path <- system.file("extdata", "prostate.csv", package = "h2o") prostate <- h2o.uploadFile(path = prostate_path) sd(prostate$AGE) # }