R Dataset / Package car / CanPop
On this R-data statistics page, you will find information about the CanPop data set which pertains to Canadian Population Data. The CanPop data set is found in the car R package. You can load the CanPop data set in R by issuing the following command at the console data("CanPop"). This will load the data into a variable called CanPop. If R says the CanPop data set is not found, you can try installing the package by issuing this command install.packages("car") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the CanPop R data set. The size of this file is about 202 bytes.
Canadian Population Data
Description
The CanPop
data frame has 16 rows and 2 columns. Decennial time-series of Canadian population, 1851–2001.
Usage
CanPop
Format
This data frame contains the following columns:
- year
-
census year.
- population
-
Population, in millions
Source
Urquhart, M. C. and Buckley, K. A. H. (Eds.) (1965) Historical Statistics of Canada. Macmillan, p. 1369.
Canada (1994) Canada Year Book. Statistics Canada, Table 3.2.
Statistics Canada: http://www12.statcan.ca/english/census01/products/standard/popdwell/Table-PR.cfm.
References
Fox, J. (2008) Applied Regression Analysis and Generalized Linear Models, Second Edition. Sage.
Dataset imported from https://www.r-project.org.