phosphor {rrcov}R Documentation

Phosphorus Content Data

Description

This dataset investigates the effect from inorganic and organic Phosphorus in the soil upon the phosphorus content of the corn grown in this soil, from Prescott (1975).

Usage

data(phosphor)

Format

A data frame with 18 observations on the following 3 variables.

X1
Inorganic Phosphorus
X2
Organic Phosphorus
Y
Plant Phosphorus

For convenience, the data sets phosphor.x, a matrix with the first two (independent) variables of the data frame, and phosphor.y, the numeric vector giving the thirth (dependent) variable, are provided as well.

Source

P. J. Rousseeuw and A. M. Leroy (1987) Robust Regression and Outlier Detection. Wiley, p.156, table 24.

Examples

data(phosphor)
plot(phosphor.x)
covMcd(phosphor.x)
summary(lm.phosphor <- lm(phosphor.y ~ phosphor.x))

[Package rrcov version 0.2-5 Index]