Description Usage Format Source References See Also Examples
Raw data from the Crean et al. (2011) study on phenotypic selection across the metamorphic boundary in Styela plicata larvae. These data were downloaded from Dryad and then formatted for use in this R package. LarvalSquirts includes the data for both the high density and low density treatments, and contains the following variables:
wrrelative fitness based on postmetamorphic survival to reproduction after 4 months in the field (survivalToReprod) for all larvae.
wsrelative fitness based on postmetamorphic growth, using wet weight (in grams) after 4 months in the field as a proxy (wetWeight4months.g) for all larvae.
Wrabsolute fitness based on postmetamorphic survival to reproduction after 4 months in the field (survivalToReprod) for all larvae. 1 = survived, 0 = died.
Wsabsolute fitness based on postmetamorphic growth, using wet weight (in grams) after 4 months in the field as a proxy (wetWeight4months.g) for all larvae.
larvalArea_um2area of the larva, "estimated from the average of at least three measurements", in units of squared micrometers.
hatchTime_minstime to hatching, a premetamorphic trait used as a proxy for development time, in units of minutes.
settleTime_minstime to settlement, a premetamorphic trait measured every 4 hours, in units of minutes. "Larvae that had not settled within 25 hours posthatch were excluded from their analyses (n = 3)".
trialone of five replicate runs ("trials") that were run betwen May and October 2009.
individualindividual identification code.
treatmentexperimental treatment group (LD = low density, HD = high density).
1 |
data.frame with 165 observations and 10 variables
These data were obtained from the Excel spreadsheet that is available on Dryad: http://datadryad.org/resource/doi:10.5061/dryad.574r7, and are associated with Crean et al. (2011).
Crean AJ, Monro K, Marshall DJ. 2011. Fitness consequences of larval traits persist across the metamorphic boundary. Evolution 65(11): 3079-3089. doi:10.1111/j.1558-5646.2011.01372.x
LarvalSquirtsHD, LarvalSquirtsLD
1 2 3 4 5 6 7 8 | # Load the data
data(LarvalSquirts)
# Look at the structure of the data.frame
str(LarvalSquirts)
# Run a linear regression with wr as the response and the phenotypic traits as the predictors
lm(wr ~ ., data = LarvalSquirts[,5:7])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.