Learn R Programming

MonetDB.R (version 0.8.0)

var: Variance

Description

var calculates the variance for monet.frame objects.

Usage

## S3 method for class 'monet.frame':
var(x, y = NULL, na.rm = FALSE, use)

Arguments

x
a monet.frame object with only a single column
y
Unsupported, must not be set
na.rm
Whether to remove NA/NULL values before calculation
use
Unsupported, must not be set

Value

  • Returns the variance

See Also

cor

Examples

Run this code
frame <- mf("demo","iris")
	var(frame$sepal_width)

Run the code above in your browser using DataLab