Description Usage Format Source References Examples
Successful numbers of broods (Number.of.successful.broods
) in two groups of female pseudoscrpions (Cordylochernes scorpioides), one mated to the same male twice and one to two different males.
1 |
A data frame with 36 observations on the following 2 variables.
treatment
a factor with levels DM
SM
successful.broods
a numeric vector
Newcomer, S.D., J.A. Zeh, and D.W. Zeh. 1999. Genetic benefits enhance the reproductive success of polyandrous females. Proceedings of the National Academy of Sciences (USA) 96: 10236-10241.
http://www.pnas.org/content/96/18/10236.long
1 2 3 4 | data(Pseudoscorpions)
str(Pseudoscorpions)
bwplot(successful.broods ~ treatment, Pseudoscorpions)
aggregate(successful.broods ~ treatment, Pseudoscorpions, favstats)
|
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
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 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': 36 obs. of 2 variables:
$ treatment : Factor w/ 2 levels "DM","SM": 2 2 2 2 2 2 2 2 2 2 ...
$ successful.broods: int 4 0 3 1 2 3 4 2 4 2 ...
treatment successful.broods
1 DM 0
2 SM 0
Warning message:
In format.data.frame(x, digits = digits, na.encode = FALSE) :
corrupt data frame: columns will be truncated or padded with NAs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.