Function for present the results in line or bar plot
plot_gr(
data,
type = "bar",
x,
y,
group,
x_lab = NULL,
y_lab = NULL,
g_lab = NULL,
lgd = "top",
sig = NULL,
erb = FALSE,
y_lmt = NULL,
y_brk = NULL,
x_brk = NULL,
g_brk = NULL,
color = TRUE,
ang = 0,
font = 1.5
)
Output dtsm fuction
Type of graphic. "bar" or "line"
Axis x variable
Axis y variable
Group variable
Title for the axis x
Title for the axis y
Title for the legend
the position of legends ("none", "left", "right", "bottom", "top", or two-element numeric vector)
Significance of the result (letters)
Show the error bar.
limits of the y axis
break of the y axis
axis brakes labels in strign with doble space
legend label in strign with doble space
colored figure (TRUE), otherwise black & white (FALSE)
x text label angle
letter size in plot
Line o bar plot