Learn R Programming

rfml (version 0.1.0)

median,ml.col.def-method: Median

Description

Returns the median of a ml.data.frame field.

Usage

"median"(x, na.rm = FALSE)

Arguments

x
a ml.data.frame field.
na.rm
not currently used.

Value

The median

Examples

Run this code
## Not run: 
#  locConn <- ml.connect()
#  # create a ml.data.frame based on a search
#  mlIris <- ml.data.frame(locConn, collection = "iris")
#  # median
#  median(mlIris$Sepal.Length)
# ## End(Not run)

Run the code above in your browser using DataLab