
Last chance! 50% off unlimited learning
Sale ends in
Plot a test function in 1 or 2 dimensions.
# S3 method for soo_function
plot(x, ...)
[soo_function
] Function to plot.
Passed to the respective plot function.
# NOT RUN {
par(mfrow=c(2, 2))
fn <- generate_sphere_function(2)
plot(fn)
plot(fn, show="contour")
plot(fn, rank=TRUE)
plot(fn, log=TRUE)
# }
Run the code above in your browser using DataLab