diabetes {ccaPP} | R Documentation |
Diabetes data
Description
Subset of the diabetes data from Andrews & Herzberg (1985).
Usage
data(diabetes)
Format
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.
RelativeWeight
relative weight.
PlasmaGlucose
fasting plasma glucose.
Component y
is a matrix containing the following q = 3
variables.
GlucoseIntolerance
glucose intolerance.
InsulinResponse
insulin response to oral glucose.
InsulinResistance
insulin resistance.
Source
Andrews, D.F. and Herzberg, A.M. (1985) Data. Springer-Verlag. Page 215.
Examples
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")
[Package ccaPP version 0.3.3 Index]