Description Usage Arguments Note Author(s) See Also Examples

The function plots a simple scatter plot, fits the regression line on the scatter plot, and lists the equation of the fitted regression line as the title.

1 2 |

`x` |
The x coordinates of points in the plot. Alternatively, a single plotting structure or function can be provided. |

`y` |
The y coordinates of points in the plot, optional if |

`data` |
A data frame including the |

`xlab` |
The label of the |

`ylab` |
The label of the |

`pch` |
The plotting character; i.e., symbol to use. This can be either a single character or an integer code for one of a set of graphics symbols. |

`col` |
A vector of size two for the color code or name. The first value is the color of the plotting character, and the second value is the color of the fitted regression line. |

`digits.intercept` |
The desired number of significant digits for the intercept. |

`digits.slope` |
The desired number of significant digits for the slope. |

`...` |
Optional arguments to be passed to the |

This function `plotLine`

uses functions `plot`

and `lm`

.

Steven T. Garren, James Madison University, Harrisonburg, Virginia, USA

1 2 3 4 5 6 7 8 |

fastGraph documentation built on May 30, 2017, 3:38 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.