Nreg | R Documentation |
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"
)
trat |
Numeric vector with dependent variable. |
resp |
Numeric vector with independent variable. |
ylab |
Dependent variable name (Accepts the expression() function) |
xlab |
Independent variable name (Accepts the expression() function) |
error |
Error bar (It can be SE - default, SD or FALSE) |
theme |
ggplot2 theme (default is theme_classic()) |
legend.position |
legend position (default is "top") |
legend.text |
legend text |
legend.add.mean |
Add average in legend |
legend.add.mean.name |
Add media name |
width.bar |
Bar width |
point |
defines whether you want to plot all points ("all") or only the mean ("mean") |
textsize |
Font size |
add.line |
Add line |
add.line.mean |
Add line mean |
linesize |
line size |
linetype |
line type |
pointsize |
shape size |
pointshape |
format point (default is 21) |
fillshape |
Fill shape |
colorline |
Color lines |
fontfamily |
Font family |
The function returns an exploratory graph of segments
Gabriel Danilo Shimizu
Leandro Simoes Azeredo Goncalves
library(AgroReg)
data("aristolochia")
attach(aristolochia)
Nreg(trat,resp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.