plot.lm.ci: plots a x,y plot with the result of a linear regression model...

Description Usage Arguments Value Author(s) References Examples

Description

plots a x,y plot with the result of a linear regression model (y ~x), with its confidence and prediction bands.

Usage

1
plot.lm.ci(x, y,main)

Arguments

x

numeric vector of x coordinates.

y

numeric vector of y coordinates.

main

character. The title of the plot.

Value

This function only plots and do not return anything.

Author(s)

Alban Ramette

References

inspired from ci.plot in library(HH)

Examples

1
2
data(cars)
plot.lm.ci(cars[,1],cars[,2],main="cars dataset")

aramette/otu2ot documentation built on May 10, 2019, 12:46 p.m.