データを列とした行列をvar
する。
> var(cbind(iris$Petal.Length,iris$Petal.Width))
[,1] [,2]
[1,] 3.116278 1.2956094
[2,] 1.295609 0.5810063
More than 5 years have passed since last update.
データを列とした行列をvar
する。
> var(cbind(iris$Petal.Length,iris$Petal.Width))
[,1] [,2]
[1,] 3.116278 1.2956094
[2,] 1.295609 0.5810063
Register as a new user and use Qiita more conveniently