nzc {VGAM} | R Documentation

## 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(nzc)

### Format

A data frame with 26 observations on the following 4 variables.

`year`
  Year.
`male`
  Number of Chinese males.
`female`
  Number of Chinese females.
`nz`
  Total number in the New Zealand population.

### 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

    ## Not run:
    with(nzc, plot(year, female/(male+female), type="b", ylab="Proportion",
                   main="Proportion of NZ Chinese that are female",
                   col="blue", las=1))
    abline(h=0.5, lty="dashed")

    with(nzc, plot(year, 100*(male+female)/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")
    ## End(Not run)

[Package VGAM version 0.7-9 Index]