Standard Deviation

Description

Returns the sample standard deviation of a ml.data.frame field.

Usage

1
2
## S4 method for signature 'ml.col.def'
sd(x, na.rm = NULL)

Arguments

x

a ml.data.frame field.

na.rm

not used currently

Details

The function returns a empty value if the number of rows of the ml.data.frame that x belongs to is less than 2.

Value

The sample standard deviation

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
 library(rfml)
 locConn <- ml.connect()
 # create a ml.data.frame based on a search
 mlIris <- ml.data.frame(locConn, collection = "iris")
 # standard deviation
 sd(mlIris$Sepal.Length)

## End(Not run)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.