Learn R Programming

fANCOVA (version 0.5-1)

USpopu: US national population

Description

US national population by four groups from 1900 to 1979. The four groups are: Age 0; Age 20; Age 40; Age 60.

Usage

data(USpopu)

Arguments

Format

A data frame with 320 observations on 3 variables.

age numeric the group variable of age
year numeric a numeric vector, giving year
population numeric a numeric vector, giving population in millions

References

www.census.gov/popest/archives/pre-1980/PE-11.html, U.S. Census Bureau, Population Division. Internet Release date: October 1, 2004

See Also

T.L2, T.aov, T.var.

Examples

Run this code
# NOT RUN {
data(USpopu)
t1 <- T.L2(USpopu$year, USpopu$population, USpopu$age, degree=2)
t1
plot(t1)
plot(t1, test.statistic=FALSE, legend.position="topleft")
# }

Run the code above in your browser using DataLab