Description Format Source References Examples
The ratio of the lengths of the index finger to the ring finger in 46 males and the number of CAG repeats for each.
A data frame with 46 observations on the following 2 variables.
a numeric vector of the number of CAG repeats
a numeric vector of the ratio of digit 2 to digit 4
inferred from Manning, J.T., P.E. Bundred, D.J. Newton, and B.F. Flanagan. 2003. The second to fourth digit ratio and variation in the androgen receptor gene. Evolution and Human Behavior 24: 399-405.
http://en.wikipedia.org/wiki/Digit_ratio
1 2 3 4 5 | str(FingerRatio)
xyplot(finger.ratio ~ CAGrepeats, FingerRatio,
xlab = "Number of CAG Repeats",
ylab = "2D:4D Ratio"
)
|
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': 46 obs. of 2 variables:
$ CAGrepeats : int 21 22 25 19 20 18 19 19 19 20 ...
$ finger.ratio: num 1.06 1.06 1.06 1.03 1.03 ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.