Last data update: 2014.03.03

R: Strength tests of two types of wool fabric
WoolR Documentation

Strength tests of two types of wool fabric

Description

Data for Exercise 7.42

Usage

Wool

Format

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

Type.1

a numeric vector

Type.2

a numeric vector

Source

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

Examples

str(Wool)
attach(Wool)
t.test(Type.1,Type.2,var.equal=TRUE)
detach(Wool)

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/Wool.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Wool
> ### Title: Strength tests of two types of wool fabric
> ### Aliases: Wool
> ### Keywords: datasets
> 
> ### ** Examples
> 
> str(Wool)
'data.frame':	10 obs. of  2 variables:
 $ Type.1: int  138 127 148 134 125 136 152 110 137 160
 $ Type.2: int  134 137 135 140 130 134 120 157 162 114
> attach(Wool)
> t.test(Type.1,Type.2,var.equal=TRUE)

	Two Sample t-test

data:  Type.1 and Type.2
t = 0.061752, df = 18, p-value = 0.9514
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
 -13.20869  14.00869
sample estimates:
mean of x mean of y 
    136.7     136.3 

> detach(Wool)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>