Outer function
The outer function.
Outer(x, y, oper = "*")
x |
A numerical vector. |
y |
A numerical vector. |
oper |
The available options are "*" (multiplication), "/" (division), "+" (sum), "-" (sbtraction), "^" (power raise), and " |
The function is the same as R's "outer", but works with vectors only and probably has less capabilities, but faster.
A matrix with two rows. In each row the X2 or G2 test statistic, its p-value and the degrees of freedom are returned.
Manos Papadakis and Michail Tsagris
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com> and Michail Tsagris <mtsagris@yahoo.gr>.
x <- rnorm(10) y <- rnorm(10) res<-Outer(x, y)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.