Graph for non-significant trend. Can be used within the multicurve command
Nreg(
trat,
resp,
ylab = "Dependent",
xlab = "Independent",
error = "SE",
theme = theme_classic(),
legend.position = "top",
legend.text = "not~significant",
legend.add.mean = TRUE,
legend.add.mean.name = "hat(y)",
width.bar = NA,
point = "all",
textsize = 12,
add.line = FALSE,
add.line.mean = FALSE,
linesize = 0.8,
linetype = 1,
pointsize = 4.5,
pointshape = 21,
fillshape = "gray",
colorline = "black",
fontfamily = "sans"
)
The function returns an exploratory graph of segments
Numeric vector with dependent variable.
Numeric vector with independent variable.
Dependent variable name (Accepts the expression() function)
Independent variable name (Accepts the expression() function)
Error bar (It can be SE - default, SD or FALSE)
ggplot2 theme (default is theme_classic())
legend position (default is "top")
legend text
Add average in legend
Add media name
Bar width
defines whether you want to plot all points ("all") or only the mean ("mean")
Font size
Add line
Add line mean
line size
line type
shape size
format point (default is 21)
Fill shape
Color lines
Font family
Gabriel Danilo Shimizu
Leandro Simoes Azeredo Goncalves
library(AgroReg)
data("aristolochia")
attach(aristolochia)
Nreg(trat,resp)
Run the code above in your browser using DataLab