This is a file from the Wikimedia Commons

File:R-gender in 44 births-simulation.svg

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Original file(SVG file, nominally 360 × 360 pixels, file size: 101 KB)

Summary

Description
English: Created from within the R statistical package using
svg("R-gender_in_44_births|simulation.svg", 4,4,8)
par(las=2, cex.axis=0.65)
plot(tabulate(rbinom(1000000, 44, 0.5),44), col={a<-rep("blue",44);a[18]<-"red";a}, type="h", main="Number of females in 44 births, assuming 50:50 sex ratio", ylab="Number of results (out of a million)", xlab="Number of Females", xaxp=c(0,44,44))
dev.off()
Date
Source Own work
Author HYanWong

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

14 November 2008

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current17:16, 14 November 2008Thumbnail for version as of 17:16, 14 November 2008360 × 360 (101 KB)HYanWong{{Information |Description={{en|1=Created from within the R statistical package using <pre>svg("R-gender_in_44_births|simulation.svg", 4,4,8) par(las=2, cex.axis=0.65) plot(tabulate(rbinom(1000000, 44, 0.5),44), col={a<-rep("blue",44);a[18]<-"red";a}

The following page uses this file: