20
21
The NZ total for the years 1867 and 1871 exclude the Maori population.
21
22
The second value of 4583 looks erroneous, as seen by the plot below.
26
30
Page 6 of \emph{Aliens At My Table: Asians as New Zealanders see them}
27
31
by M. Ip and N. Murphy,
32
with(nzc, plot(year, female/(male+female), type="b", ylab="Proportion",
33
main="Proportion of NZ Chinese that are female",
35
abline(h=0.5, lty="dashed")
37
\dontrun{ plot(female/(male+female) ~ year, nzc, type = "b",
38
ylab = "Proportion", col = "blue", las = 1,
39
main = "Proportion of NZ Chinese that are female")
40
abline(h = 0.5, lty = "dashed")
37
with(nzc, plot(year, 100*(male+female)/nz, type="b", ylab="Percent",
38
ylim=c(0, max(100*(male+female)/nz)), col="blue", las=1,
39
main="Percent of NZers that are Chinese"))
40
abline(h=0, lty="dashed")
42
plot(100*(male+female)/nz ~ year, nzc, type = "b", ylab = "Percent",
43
ylim = c(0, max(100*(male+female)/nz)), col = "blue", las = 1,
44
main = "Percent of NZers that are Chinese")
45
abline(h = 0, lty = "dashed") }