Description Usage Format Source References Examples
Relative rates of hemoglobin concentration in four populations of humans living at different altitudes.
1 |
A data frame with 40 observations on the following 3 variables.
hemoglobin
a numeric vector
group
a factor with levels: Andes
, Ethiopia
, Tibet
, and USA
relative.frequency
a numeric vector
inferred from Beall, C.M., M.J. Decker, G.M. Bittenham, I. Kushner, A. Gebremedhin, K.P. Strohl. 2002. An Ethiopian pattern of human adaptation to high-altitude hypoxia. Proceeding of the National Academy of Sciences (USA) 99(26): 17215-17218.
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC139295/
1 2 3 4 5 | data(Hemoglobin)
str(Hemoglobin)
xyplot(relative.frequency ~ hemoglobin | group, Hemoglobin,
type ='h', lwd=4, layout=c(1,4))
|
Loading required package: nlme
Loading required package: lattice
Loading required package: grid
Loading required package: mosaic
Registered S3 method overwritten by 'mosaic':
method from
fortify.SpatialPolygonsDataFrame ggplot2
The 'mosaic' package masks several functions from core packages in order to add
additional features. The original behavior of these functions should not be affected by this.
Attaching package: ‘mosaic’
The following objects are masked from ‘package:dplyr’:
count, do, tally
The following object is masked from ‘package:Matrix’:
mean
The following object is masked from ‘package:ggplot2’:
stat
The following objects are masked from ‘package:stats’:
binom.test, cor, cor.test, cov, fivenum, IQR, median, prop.test,
quantile, sd, t.test, var
The following objects are masked from ‘package:base’:
max, mean, min, prod, range, sample, sum
'data.frame': 40 obs. of 3 variables:
$ hemoglobin : int 11 12 13 14 15 16 17 18 19 11 ...
$ group : Factor w/ 4 levels "Andes","Ethiopia",..: 2 2 2 2 2 2 2 2 2 3 ...
$ relative.frequency: num 0 0.01 0.05 0.18 0.32 0.24 0.19 0.01 0 0 ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.