var | R Documentation |
Calculates the variance of an image
var(x, ...)
## Default S3 method:
var(x, ...)
## S3 method for class 'antsImage'
var(x, ..., na.rm = FALSE, mask = NULL)
x |
an object for which we want to compute the variance |
... |
Any additional arguments to be passed to
|
na.rm |
a logical value indicating whether NA should be removed |
mask |
is an object of class |
img <- antsImageRead(getANTsRData("r16"))
var(img)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.