plotScatterplot.Rd
Use argument variables
to denote the numeric variables
of interest. First one will be mapped on to the x-axis and the second
one on to the y-axis.
plotScatterplot(
object,
variables,
smooth = NULL,
smooth_clr = NULL,
smooth_method = NULL,
smooth_se = NULL,
smooth_span = NULL,
pt_alpha = NULL,
pt_clr = NULL,
pt_size = NULL,
verbose = NULL,
...
)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Character vector. The names of the data variables of interest.
Logical. If TRUE, a loess fit is used to smooth the values.
Character value. The color with which to display the smoothed model.
The smoothing method that will be used specified as a single character value (e.g. "lm", "glm", "gam", "loess").
Logical. If set to TRUE the confidence interval will be
Numeric value. Controls the degree of smoothing.
Given to argument span
of stats::loess()
.
Numeric value. Specifies the degree of transparency of all points.
Character value. Specifies the color of all points.
Numeric value. Specifies the size of all points.
Logical. If TRUE
, informative messages regarding
the computational progress will be printed.
(Warning messages will always be printed.)
Additional arguments given to ggplot2::geom_smooth()
.
Returns a ggplot that can be additionally customized according to the rules of the ggplot2 framework.