Last data update: 2014.03.03

R: Hydrocarbon data
vapour.dfR Documentation

Hydrocarbon data

Description

When petrol is pumped into a tank, hydrocarbon vapours are forced into the atmosphere. To reduce this significant source of air pollution, devices are installed to capture the vapour. A laboratory experiment was conducted in which the amount of vapour given off was measured.

Usage

data(vapour.df)

Format

A data frame with 125 observations on the following 5 variables:

t.temp

initial tank temperature (degrees F)

p.temp

temperature of the dispensed petrol (degrees F)

t.vp

initial vapour pressure in tank (psi)

p.vp

vapour pressure of the dispensed petrol (psi)

hc

emitted dispensed hydrocarbons (g)(response)

Examples

data(vapour.df)
vapour.lm<-lm(hc~ t.temp + p.temp + t.vp + p.vp, data=vapour.df)
summary(vapour.lm)

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(R330)
Loading required package: s20x
Loading required package: leaps
Loading required package: rgl
Loading required package: lattice
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/R330/vapour.df.Rd_%03d_medium.png", width=480, height=480)
> ### Name: vapour.df
> ### Title: Hydrocarbon data
> ### Aliases: vapour.df
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(vapour.df)
> vapour.lm<-lm(hc~ t.temp + p.temp + t.vp + p.vp, data=vapour.df)
> summary(vapour.lm)

Call:
lm(formula = hc ~ t.temp + p.temp + t.vp + p.vp, data = vapour.df)

Residuals:
    Min      1Q  Median      3Q     Max 
-6.4621 -1.3139  0.0301  1.2314  6.9966 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept)  0.16609    1.02198   0.163  0.87117    
t.temp      -0.07764    0.04801  -1.617  0.10850    
p.temp       0.18317    0.04063   4.508 1.53e-05 ***
t.vp        -4.45230    1.56614  -2.843  0.00526 ** 
p.vp        10.27271    1.60882   6.385 3.37e-09 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 2.723 on 120 degrees of freedom
Multiple R-squared:  0.8959,	Adjusted R-squared:  0.8925 
F-statistic: 258.2 on 4 and 120 DF,  p-value: < 2.2e-16

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