Skip to contents

Eyespan width (mm; Eye.span) in 45 stalk-eyed flies (Cyrtodiopsis dalmanni) fed a corn or cotton diet (Food).

Usage

Stalkies2

Format

A data frame with 45 observations on the following 2 variables.

food

a factor with levels Corn Cotton

eye.span

a numeric vector

Source

David, P., T. Bjorksten, K. Fowler, and A. Pomiankowski. 2000. Condition-dependent signalling of genetic variation in stalk-eyed flies. Nature 406: 186-188.

Examples


str(Stalkies2)
#> 'data.frame':	45 obs. of  2 variables:
#>  $ food    : Factor w/ 2 levels "Corn","Cotton": 1 1 1 1 1 1 1 1 1 1 ...
#>  $ eye.span: num  2.15 2.14 2.13 2.13 2.12 2.11 2.1 2.08 2.08 2.08 ...
xyplot(eye.span ~ food, Stalkies2)

aggregate(eye.span ~ food, Stalkies2, FUN = favstats)
#> Warning: corrupt data frame: columns will be truncated or padded with NAs
#>     food eye.span
#> 1   Corn     1.89
#> 2 Cotton     1.05