Description Usage Arguments Details Value Examples
Returns the Pearson correlation coefficient matrix of all numeric fields in a ml.data.frame
1 2 |
x |
a ml.data.frame |
y |
not used when doing a matrix |
use |
not implemented |
method |
not implemented |
The function eliminates all fields pairs for which either the first element or the second element is empty. After the elimination, if the length of the input is less than 2, the function returns the empty sequence. After the elimination, if the standard deviation of the first column or the standard deviation of the second column is 0, the function returns the empty sequence.
The correlation coefficient matrix
1 2 3 4 5 6 7 8 9 | ## Not run:
library(rfml)
locConn <- ml.connect()
# create a ml.data.frame based on a search
mlIris <- ml.data.frame(locConn, collection = "iris")
# return the correlation matrix
cor(mlIris)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.