Last data update: 2014.03.03

R: Wool Production
WoolR Documentation

Wool Production

Description

Random sample of wool production in kilograms on 5 different days at two different locations

Usage

Wool

Format

A data frame with 15 observations on the following 2 variables:

textileA

wool production in thousands of kilograms

textileB

wool production in thousands of kilograms

Source

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. (2008) Probability and Statistics with R. Chapman & Hall/CRC.

Examples

with(data = Wool, 
t.test(textileA, textileB))

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(PASWR)
Loading required package: e1071
Loading required package: MASS
Loading required package: lattice
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/PASWR/Wool.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Wool
> ### Title: Wool Production
> ### Aliases: Wool
> ### Keywords: datasets
> 
> ### ** Examples
> 
> with(data = Wool, 
+ t.test(textileA, textileB))

	Welch Two Sample t-test

data:  textileA and textileB
t = -2.266, df = 20.619, p-value = 0.03435
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
 -0.42213539 -0.01786461
sample estimates:
mean of x mean of y 
    1.226     1.446 

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