plotNN
uses the parameter uni
to launch the plot()
function either
for a univariate dataset (x, y_pred) or for a multivariate dataset (y, y_pred).
lipoNN
uses the parameter uni
to launch either lines()
for an
univariate dataset or points()
for a multivariate dataset.
See the examples in prepareZZ
.
plotNN(xory, y0, uni, TF = TRUE, ...)lipoNN(xory, y_pred, uni, TF = TRUE, ...)
vector of numeric. The original x values for an univariate dataset or the original y values for a multivariate dataset.
vector of numeric. The original y values.
logicial. TRUE for an univariate dataset. FALSE for a multivariate dataset.
...
fails or if you call the function from another function.
logical. TRUE executes the instruction. FALSE ignores the instruction.
Equivalent to if (TRUE/FALSE) plot()
.
parameters passed to plot()
, lines()
or points()
.
vector of numeric. The values returned by the predict()
function.
NULL in the console. An initial plot or some added lines/points.