Learn R Programming

GerminaR (version 1.4.2)

fplot: Plot line or bar graphic

Description

Function use the dtsm funtion for plot the results

Usage

fplot(
  data,
  type = "bar",
  x,
  y,
  z,
  ylab = NULL,
  xlab = NULL,
  lgl = NULL,
  lgd = "top",
  sig = NULL,
  erb = FALSE,
  lmt = NULL,
  brk = NULL,
  xbl = NULL,
  zbl = NULL,
  color = TRUE,
  font = 1
)

Arguments

data

Output dtsm fuction

type

Type of graphic. "bar" or "line"

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)

sig

Significance of the result (letters)

erb

Show the error bar.

lmt

limits of the y axis

brk

break of the y axis

xbl

axis brakes labels in strign with doble space

zbl

legend label in strign with doble space

color

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

font

letter size in plot

Value

Line o bar plot