Variance

Share:

Description

var calculates the variance for monet.frame objects.

Usage

1
2
 	## 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

1
2
3
4
5
## Not run: 
	frame <- mf("demo","iris")
	var(frame$sepal_width)

## End(Not run)