Description Usage Arguments See Also
Performs regression and graphs in a convenient way: with or without log-transforming x and y variables (the option addone can be included to handle zeros for log-transformation), with or without manual point labelling, without or without the best-fit line added, and with many options for colors and points. add can be a vector of length 2, a constant to be added to every value of x, y to remove zeroes.
1 2 3 4 5 |
x, y |
Variables on which to perform regression and graph. |
xlog, ylog |
Logical. Set to |
addone |
Use to handle zeros for log-transformation |
graphit |
Logical; if |
add |
Logical. Whether to add elements such as points or line to an existing graph. if TRUE, there must be an appropriate existing graph, otherwise, a new graph is drawn. |
pts |
See argument |
lwidth |
Line width; see |
ptsize |
Passed to argument |
clr |
A string indicating colour. See argument col in |
ltype |
Line type; see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.