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,
of_sample = NA,
...
)
An object of class spata2
.
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 set to TRUE informative messages regarding the computational progress will be printed.
(Warning messages will always be printed.)
This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample.
Additional arguments given to ggplot2::geom_smooth()
.
Returns a ggplot-object that can be additionally customized according to the rules of the ggplot2-framework.