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

Description Usage Arguments See Also Examples

View source: R/frame.R

Description

Obtain the standard deviation of a column of data.

Usage

1
2
3
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

1
2
3
4
5
6
7
8
9
## Not run: 
library(h2o)
h2o.init()

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

## End(Not run)

h2o documentation built on Jan. 4, 2022, 1:09 a.m.