Learn R Programming

HSAUR3 (version 1.0-15)

polyps3: Familial Andenomatous Polyposis

Description

Data from a placebo-controlled trial of a non-steroidal anti-inflammatory drug in the treatment of familial andenomatous polyposis (FAP).

Usage

data("polyps3")

Arguments

Format

A data frame with 22 observations on the following 5 variables.

gender

a factor with levels female and male.

treatment

a factor with levels placebo and active.

baseline

the baseline number of polyps.

age

the age of the patient.

number3m

the number of polyps after three month.

Details

The data arise from the same study as the polyps data. Here, the number of polyps after three months are given.

Examples

Run this code

  data("polyps3", package = "HSAUR3")
  plot(number3m ~ age, data = polyps3, pch = as.numeric(polyps3$treatment))
  legend("topright", legend = levels(polyps3$treatment), pch = 1:2, bty = "n")

Run the code above in your browser using DataLab