A major axis regression with parameters fitted by optim. The regression is the line which minimizes perpendicular distance summed over all points (and squared).
1 2 3 | majoraxisreg(x, y, title = "", graphit = F, add = F, pts = T,
clr = "blue", xtitle = "x", ytitle = "y", ptsize = 1,
labsize = 1)
|
graphit |
Logical; if |
add |
xxxdocparam in majoraxisreg() is different to add in add_plot.R. |
clr |
A string indicating colour. See argument col in |
ptsize |
Passed to argument |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.