Learn R Programming

MPV (version 1.64)

p2.10: Data Set for Problem 2-10

Description

The p2.10 data frame has 26 observations on weight and systolic blood pressure for randomly selected males in the 25-30 age group.

Usage

data(p2.10)

Arguments

Format

This data frame contains the following columns:

weight

in pounds

sysbp

systolic blood pressure

Examples

Run this code
data(p2.10)
attach(p2.10)
cor.test(weight, sysbp, method="pearson")  # tests rho=0
                                           # and computes 95% CI for rho
                                           # using Fisher's Z-transform

Run the code above in your browser using DataLab