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() prosPath <- system.file("extdata", "prostate.csv", package="h2o") prostate.hex <- h2o.uploadFile(path = prosPath) sd(prostate.hex$AGE) # }