Suet Ling Teh
2/18/2022
This dataset shows the relation between temperature (degree Celsius) and vapor pressure of mercury (mm).
temperature pressure
1 0 0.0002
2 20 0.0012
3 40 0.0060
4 60 0.0300
5 80 0.0900
6 100 0.2700
plot1<- plot(x=pressure$temperature, y=pressure$pressure,
xlab='Temperature (deg Celsius)',
ylab= 'Pressure (mm)',
main= 'Relationship between Temperature and Pressure')## NULL
plot(x=pressure$temperature, y=pressure$pressure,
xlab='Temperature (deg Celsius)',
ylab= 'Pressure (mm)',
main= 'Relationship between Temperature and Pressure')
abline(linearmodel, col='blue')