median.sR: A Median Function

Description Usage Arguments Examples

Description

This function computes the sample median of a single column from a SparkR DataFrame.

Usage

1
2
## S3 method for class 'sR'
median(df, col)

Arguments

df

The name of the DataFrame.

col

The name of the column, character string.

Examples

1
median.sR(iris, "Sepal_Length")

mtoto/SparkRhelpers documentation built on May 23, 2019, 8:19 a.m.