Learn R Programming

tlm (version 0.1.5)

feld1: Cat Allergen Concentrations

Description

Simulated data for cat allergen concentrations (Fel d 1) in 471 homes, measured in both the living room and the bed mattress.

Usage

data(feld1)

Arguments

Format

A data frame with 471 observations on the following 5 variables.
mattress
numeric Feld d 1 concentration in the bed mattress (\(\mu\)g/g).
room
numeric Feld d 1 concentration in the living room (\(\mu\)g/g).
logmattress
logarithm of mattress.
logroom
logarithm of room.
cat
a factor with levels no and yes, indicating cat ownership.

Details

Data were simulated to emulate true data pattern observed in a real study (see `References').

References

Basagana X et al. Domestic aeroallergen levels in Barcelona and Menorca (Spain). Pediatric Allergy and Immunology. 2002;13(6):412-417.

Examples

Run this code
data(feld1)
par(las = 1, mfrow = c(1, 2))
with(feld1, plot(mattress, room, col = as.numeric(cat)))
with(feld1, plot(logmattress, logroom, col = as.numeric(cat)))

Run the code above in your browser using DataLab