Last data update: 2014.03.03

R: Karl Pearson's data on heights of brothers and sisters
PearsonR Documentation

Karl Pearson's data on heights of brothers and sisters

Description

Data for Exercise 2.20

Usage

Pearson

Format

A data frame with 11 observations on the following 2 variables.

brother

a numeric vector

sister

a numeric vector

Source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

str(Pearson)
attach(Pearson)
plot(brother,sister)
cor(brother,sister)
detach(Pearson)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(BSDA)
Loading required package: e1071
Loading required package: lattice

Attaching package: 'BSDA'

The following object is masked from 'package:datasets':

    Orange

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/BSDA/Pearson.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Pearson
> ### Title: Karl Pearson's data on heights of brothers and sisters
> ### Aliases: Pearson
> ### Keywords: datasets
> 
> ### ** Examples
> 
> str(Pearson)
'data.frame':	11 obs. of  2 variables:
 $ brother: int  71 68 66 67 70 71 70 73 72 65 ...
 $ sister : int  69 64 65 63 65 62 65 64 66 59 ...
> attach(Pearson)
> plot(brother,sister)
> cor(brother,sister)
[1] 0.5580547
> detach(Pearson)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>