Functions for plotting.
# S3 method for gnn_GNN
plot(x, kind = c("scatter", "loss"), max.n.samples = NULL,
type = NULL, xlab = NULL, ylab = NULL,
y2lab = NULL, labels = "X", pair = NULL, ...)Plot by side-effect.
trained object of class "gnn_GNN"
whose loss function (loss per epoch of training) is to be plotted.
character() indicating the type
of plot.
maximal number of samples to be plotted.
line type; see plot().
x-axis label; see plot().
y-axis label; see plot().
secondary y-axis label.
character() vector indicating
the labels to be used; if of length 1, then the base label
to be used.
numeric(2) containing the indices of the
pair to be plotted.
additional arguments passed to the underlying
plot().
Marius Hofert
fitGNN().