plot.ge_effects {metan} | R Documentation |
Plot an object of class ge_effects
Description
Plot the regression model generated by the function ge_effects
.
Usage
## S3 method for class 'ge_effects'
plot(
x,
var = 1,
plot_theme = theme_metan(),
x.lab = NULL,
y.lab = NULL,
leg.position = "right",
size.text = 12,
...
)
Arguments
x |
An object of class |
var |
The variable to plot. Defaults to |
plot_theme |
The graphical theme of the plot. Default is
|
x.lab |
The label of x-axis. Each plot has a default value. New
arguments can be inserted as |
y.lab |
The label of y-axis. Each plot has a default value. New
arguments can be inserted as |
leg.position |
The position of the legend. |
size.text |
The size of the text in the axes text and labels. Default
is |
... |
Current not used. |
Value
An object of class gg, ggplot
.
Author(s)
Tiago Olivoto tiagoolivoto@gmail.com
See Also
Examples
library(metan)
ge_eff <- ge_effects(data_ge2, ENV, GEN, PH)
plot(ge_eff)
[Package metan version 1.18.0 Index]