Following this example, I would like to add a title to the plot. I use the package neuralnet
in R and when the neural network is trained, I want to display in a plot.
library(neuralnet)
data(infert, package="datasets")
net.infert <- neuralnet(case~parity+induced+spontaneous, infert,
err.fct="ce", linear.output=FALSE, likelihood=TRUE)
plot(net.infert, rep="best")
In order to include a title I used the arguments main
and title
with no result.
plot(net.infert, rep="best", title = "Incisors")
plot(net.infert, rep="best", main= "Incisors")
Any idea?