-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- doc for reedfrogs data (thanks to Ben Bolker) - tweaks to trankplot code, various plotting functions
- Loading branch information
Richard McElreath
committed
Jul 9, 2019
1 parent
f699ad3
commit ed379d7
Showing
5 changed files
with
62 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ Package: rethinking | |
Type: Package | ||
Title: Statistical Rethinking book package | ||
Version: 1.88 | ||
Date: 2019-03-02 | ||
Date: 2019-07-09 | ||
Author: Richard McElreath | ||
Maintainer: Richard McElreath <[email protected]> | ||
Imports: coda, MASS, mvtnorm, loo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
\name{reedfrogs} | ||
\alias{reedfrogs} | ||
\docType{data} | ||
\title{Data on reed frog predation experiments} | ||
\description{ | ||
Data on lab experiments on the density- and size-dependent | ||
predation rate of an African reed frog, \emph{Hyperolius | ||
spinigularis}, | ||
from Vonesh and Bolker 2005 | ||
} | ||
\usage{data(reedfrogs)} | ||
\format{ | ||
Various data with variables: | ||
\describe{ | ||
\item{\code{density}}{initial tadpole density (number of tadpoles | ||
in a 1.2 x 0.8 x 0.4 m tank) [experiment 1]} | ||
\item{\code{pred}}{factor: predators present or absent [experiment 1]} | ||
\item{\code{size}}{factor: big or small tadpoles [experiment 1]} | ||
\item{\code{surv}}{number surviving} | ||
\item{\code{propsurv}}{proportion surviving (=surv/density) [experiment 1]} | ||
} | ||
} | ||
\source{ | ||
Vonesh and Bolker (2005) Compensatory larval responses shift | ||
trade-offs associated with predator-induced hatching plasticity. | ||
Ecology 86:1580-1591 | ||
} | ||
\examples{ | ||
data(reedfrogs) | ||
boxplot(propsurv~size*density*pred,data=reedfrogs) | ||
} | ||
\keyword{datasets} |