regress.loglog: Performs regression and graphs in a convenient way.

Description Usage Arguments See Also

Description

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.

Usage

1
2
3
4
5
regress.loglog(x, y, xlog = TRUE, ylog = TRUE, addone = NULL,
  graphit = TRUE, xrange = NULL, yrange = NULL, add = FALSE,
  pts = 16, lwidth = 1, drawline = "solid", title = "",
  xtitle = NULL, ytitle = NULL, ptnames = NULL, ptsize = 1,
  clr = "blue", lineclr = "red", includeaxis = TRUE)

Arguments

x, y

Variables on which to perform regression and graph.

xlog, ylog

Logical. Set to TRUE to log-transform x and y variables.

addone

Use to handle zeros for log-transformation

graphit

Logical; if TRUE adds plot output.

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 pch in graphics::par().

lwidth

Line width; see width in ?graphics::par().

ptsize

Passed to argument cex in graphics::par().

clr

A string indicating colour. See argument col in graphics::par().

ltype

Line type; see ltype in ?graphics::par().

See Also

graphics::par().


forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.