plot_regrans: Plot of Segmented Linear Regression for an 'regrans' Object

Description Usage Arguments Value Author(s) Examples

View source: R/plot_regrans.R

Description

Segmented linear regression plot for visualization of the transition point (or allometric inflection point) identified by interactive regrans routine.

Usage

1
2
3
4
5
6
7
plot_regrans(
  obj,
  col.lines = c("red", "blue"),
  lty.lines = c("solid", "solid"),
  lwd.lines = c(1, 1),
  ...
)

Arguments

obj

regrans object, result of regrans function.

col.lines

a vector with length 2 containing the names of colors that will be drawing the lines of both linear models (left and right).

lty.lines

a vector with length 2 containing the names of line types that will be drawing the lines of both linear models (left and right).

lwd.lines

a vector with length 2 containing the names of line widths that will be drawing the lines of both linear models (left and right).

...

further arguments passed to or from other methods to plot.

Value

The function 'plot.regrans' will return a plot with both segment regressions models.

Author(s)

Rodrigo Sant'Ana rsantana@univali.br, Fernando Mayer fernando.mayer@ufpr.br

Examples

1
2
3

rodrigosantana/Regrans documentation built on Jan. 2, 2020, 8:36 a.m.