Learn R Programming

isni (version 0.1)

r99: Dataset for a survey of sexual behavior

Description

A dataset from a survey of sexual behavior

Usage

data(r99)

Arguments

Format

A data frame with 6136 rows and 5 variables

Details

This data frame contains the following variables:

  • y: Response to the survey (1=yes, 0=no)

  • gender: 0=male; 1=female

  • fac: the student's faculty (1=medical/dental/veterinary, 0=other)

  • genderbyfac: the product of gender and fac

  • g: an indicator of missing status (0=observed, 1=missing) for y