var.pop: Population variance

Description Usage Arguments Details Value Examples

View source: R/method-statistics.R

Description

Returns the population variance of of a ml.data.frame field.

Usage

1
var.pop(x, na.rm = FALSE)

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 population variance

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")
 # population variance
 var.pop(mlIris$Sepal.Length)

## End(Not run)

rfml documentation built on May 2, 2019, 3:01 a.m.