- x
A vector, representing the response variable of a linear (mixed) model; or
a linear (mixed) model as returned by lm
or lmer
.
- poly.term
If x
is a vector, poly.term
should also be a vector, representing
the polynomial term (independent variabl) in the model; if x
is a
fitted model, poly.term
should be the polynomial term's name as character string.
See 'Examples'.
- poly.degree
Numeric, or numeric vector, indicating the degree of the polynomial.
If poly.degree
is a numeric vector, multiple polynomial curves for
each degree are plotted. See 'Examples'.
- poly.scale
Logical, if TRUE
, poly.term
will be scaled before
linear regression is computed. Default is FALSE
. Scaling the polynomial
term may have an impact on the resulting p-values.
- fun
Linear function when modelling polynomial terms. Use fun = "lm"
for linear models, or fun = "glm"
for generalized linear models.
When x
is not a vector, but a fitted model object, the function
is detected automatically. If x
is a vector, fun
defaults
to "lm"
.
- axis.title
Character vector of length one or two (depending on the
plot function and type), used as title(s) for the x and y axis. If not
specified, a default labelling is chosen. Note: Some plot types
may not support this argument sufficiently. In such cases, use the returned
ggplot-object and add axis titles manually with
labs
. Use axis.title = ""
to remove axis
titles.
- geom.colors
user defined color for geoms. See 'Details' in plot_grpfrq
.
- geom.size
size resp. width of the geoms (bar width, line thickness or point size,
depending on plot type and function). Note that bar and bin widths mostly
need smaller values than dot sizes.
- show.loess
Logical, if TRUE
, an additional loess-smoothed line is plotted.
- show.loess.ci
Logical, if TRUE
, a confidence region for the loess-smoothed line
will be plotted.
- show.p
Logical, if TRUE
(default), p-values for polynomial terms are
printed to the console.
- show.scatter
Logical, if TRUE (default), adds a scatter plot of data
points to the plot.
- point.alpha
Alpha value of point-geoms in the scatter plots. Only
applies, if show.scatter = TRUE
.
- point.color
Color of of point-geoms in the scatter plots. Only applies,
if show.scatter = TRUE.
- loess.color
Color of the loess-smoothed line. Only applies, if show.loess = TRUE
.