| diabetes | R Documentation |
Subset of the diabetes data from Andrews & Herzberg (1985).
data(diabetes)
A list with components x and y. Both components are matrices
with observations on different variables for the same n = 76 persons.
Component x is a matrix containing the following p = 2 variables.
RelativeWeightrelative weight.
PlasmaGlucosefasting plasma glucose.
Component y is a matrix containing the following q = 3 variables.
GlucoseIntoleranceglucose intolerance.
InsulinResponseinsulin response to oral glucose.
InsulinResistanceinsulin resistance.
Andrews, D.F. and Herzberg, A.M. (1985) Data. Springer-Verlag. Page 215.
data("diabetes")
x <- diabetes$x
y <- diabetes$y
## Spearman correlation
maxCorGrid(x, y, method = "spearman")
maxCorGrid(x, y, method = "spearman", consistent = TRUE)
## Pearson correlation
maxCorGrid(x, y, method = "pearson")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.