Description Usage Format Source Examples
Resistance of Daphnia eggs to different levels of cyanobacteria (cyandensity
) from 1962-1997.
1 |
A data frame with 32 observations on the following 2 variables.
density
a factor with levels: high
, low
, and med
resistance
a numeric vector
inferred from Hairston, N.G., Jr., W. Lampert, C.E. Cáceres, C.L. Holtmeier, L.J. Weider, U. Gaedke, J.M. Fischer, J.A. Fox, and D.M. Post. 1999. Dormant eggs record rapid evolution. Nature 401: 446.
1 2 3 4 5 6 7 8 9 10 11 | data(DaphniaResistance)
str(DaphniaResistance)
bwplot(resistance ~ density, DaphniaResistance)
# with such a small data set, we can display all the data rather than a summary
xyplot(resistance ~ density, DaphniaResistance)
histogram( ~ resistance| density, DaphniaResistance,
strip=FALSE, strip.left = TRUE,
layout=c(1,3)
)
|
Loading required package: nlme
Loading required package: lattice
Loading required package: grid
Loading required package: mosaic
Loading required package: dplyr
Attaching package: 'dplyr'
The following object is masked from 'package:nlme':
collapse
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Loading required package: ggformula
Loading required package: ggplot2
Loading required package: ggstance
Attaching package: 'ggstance'
The following objects are masked from 'package:ggplot2':
GeomErrorbarh, geom_errorbarh
New to ggformula? Try the tutorials:
learnr::run_tutorial("introduction", package = "ggformula")
learnr::run_tutorial("refining", package = "ggformula")
Loading required package: mosaicData
Loading required package: Matrix
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.
Note: If you use the Matrix package, be sure to load it BEFORE loading mosaic.
Attaching package: 'mosaic'
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:dplyr':
count, do, tally
The following objects are masked from 'package:stats':
IQR, binom.test, cor, cor.test, cov, fivenum, 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': 32 obs. of 2 variables:
$ density : Factor w/ 3 levels "high","low","med": 1 1 1 1 1 1 1 1 1 1 ...
$ resistance: num 0.65 0.73 0.74 0.76 0.81 0.82 0.85 0.86 0.88 0.9 ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.