Learn R Programming

GerminaR (version 1.4.2)

ger_linereg: Plot line regression

Description

Function plot linea regression

Usage

ger_linereg(
  data,
  x,
  y,
  z = NULL,
  ylab = NULL,
  xlab = NULL,
  lgl = NULL,
  lgd = "top",
  xbrk = NULL,
  ybrk = NULL,
  zbl = NULL,
  color = TRUE,
  font = 1,
  rlx = NULL,
  rly = NULL
)

Arguments

data

Output dtsm fuction

x

Axis x variable

y

Axis y variable

z

Group variable

ylab

Title for the axis y

xlab

Title for the axis x

lgl

Title for the legend

lgd

the position of legends ("none", "left", "right", "bottom", "top", or two-element numeric vector)

xbrk

brakes for x axis

ybrk

brakes for y axis

zbl

legend label in strign with doble space

color

colored figure (TRUE), otherwise black & white (FALSE)

font

letter size in plot

rlx

regression line position in axis x.

rly

regression line position in axis y.

Value

Line regression plot