Description Usage Format Source References Examples
Squamosal horn length (mm; horn.length
) and predation status
(group
; living or killed) for 184 horned lizards
(Phrynosoma mcalli).
1 |
A data frame with 184 observations on the following 2 variables.
horn.length
a numeric vector
group
a numeric vector
Young, K.V., E.D. Brodie, Jr., and E.D. Brodie, III. 2004. How the horned lizard got its horns. Science 304: 65.
http://www.sciencemag.org/cgi/pdf_extract/304/5667/65
1 2 3 4 5 6 | data(HornedLizards)
str(HornedLizards)
histogram(~horn.length | group, HornedLizards,
layout=c(1,2),
xlab="Horn Length (mm)")
|
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': 185 obs. of 2 variables:
$ horn.length: num 25.2 26.9 26.6 25.6 25.7 25.9 27.3 25.1 30.3 25.6 ...
$ group : Factor w/ 2 levels "killed","living": 2 2 2 2 2 2 2 2 2 2 ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.