Learn R Programming

VGAM (version 0.8-7)

chinese.nz: Chinese Population in New Zealand 1867--2001 Data

Description

The Chinese population in New Zealand from 1867 to 2001, along with the whole of the New Zealand population.

Usage

data(chinese.nz)

Arguments

Details

The NZ total for the years 1867 and 1871 exclude the Maori population. The second value of 4583 looks erroneous, as seen by the plot below.

References

Page 6 of Aliens At My Table: Asians as New Zealanders see them by M. Ip and N. Murphy, (2005), Penguin.

Examples

Run this code
plot(female/(male+female) ~ year, chinese.nz, type = "b",
     ylab = "Proportion", col = "blue", las = 1,
     main = "Proportion of NZ Chinese that are female")
abline(h = 0.5, lty = "dashed")

plot(100*(male+female)/nz ~ year, chinese.nz, type = "b", ylab = "Percent",
     ylim = c(0, max(100*(male+female)/nz)), col = "blue", las = 1,
     main = "Percent of NZers that are Chinese")
abline(h = 0, lty = "dashed")

Run the code above in your browser using DataLab