Learn R Programming

UsingR (version 2.0-7)

divorce: Time until divorce for divorced women (by age)

Description

The divorce data frame has 25 rows and 6 columns.

Usage

data(divorce)

Arguments

Format

This data frame contains the following columns:

time of divorce

a factor

all ages

a numeric vector

0-17

a numeric vector

18-19

a numeric vector

20-24

a numeric vector

25-100

a numeric vector

Examples

Run this code
# NOT RUN {
data(divorce)
apply(divorce[,2:6],2,sum)	# percent divorced by age of marriage
# }

Run the code above in your browser using DataLab