diabetes: Diabetes data

Description Usage Format Source Examples

Description

Subset of the diabetes data from Andrews & Herzberg (1985).

Usage

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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")

aalfons/ccaPP documentation built on Nov. 27, 2021, 7:47 a.m.