
Last chance! 50% off unlimited learning
Sale ends in
Plot method for the nn function
# S3 method for nn
plot(x, plots = "garson", size = 12, nrobs = -1,
shiny = FALSE, custom = FALSE, ...)
Return value from nn
Plots to produce for the specified Neural Network model. Use "" to avoid showing any plots (default). Options are "olden" or "garson" for importance plots, or "net" to depict the network structure
Font size used
Number of data points to show in scatter plots (-1 for all)
Did the function call originate inside a shiny app
Logical (TRUE, FALSE) to indicate if ggplot object (or list of ggplot objects) should be returned. This option can be used to customize plots (e.g., add a title, change x and y labels, etc.). See examples and http://docs.ggplot2.org for options.
further arguments passed to or from other methods
See https://radiant-rstats.github.io/docs/model/nn.html for an example in Radiant
nn
to generate results
summary.nn
to summarize results
predict.nn
for prediction
# NOT RUN {
result <- nn(titanic, "survived", c("pclass", "sex"), lev = "Yes")
plot(result, plots = "net")
plot(result, plots = "olden")
# }
Run the code above in your browser using DataLab