my.var {cwhmisc} | R Documentation |
my.var
and my.cor
are deprecated,
use var
, cor
and cov
.
For backward compatibility they are kept, but are
implemented as calls to the new functions.
my.var(x, y) -> var(x, y = NULL, na.rm = TRUE, use = "complete") my.cor(x, y) -> cor(x, y = NULL, use = "complete")
x |
a numerical vector, matrix or data frame. |
y |
a numerical vector of the same length as x |
matrix, if x
and y
have more than one column.
Christian W. Hoffmann <c-w.hoffmann@sunrise.ch>
http://www.wsl.ch/personal_homepages/hoffmann/index_EN
datavec <- datavec1 <- matrix(rnorm(100),10,10) datavec1[1,2] <- datavec1[5,7] <- NA my.var(datavec) my.var(datavec1)