plot_2parOF | R Documentation |
This function plots the values of the objective function in a two dimensional box, where the boundaries of each parameter are used as axis limits
plot_2parOF(params, gofs, p1.name, p2.name, type="sp", MinMax=c("min","max"),
gof.name="GoF", main=paste(gof.name, "Surface"), GOFcuts,
colorRamp= colorRampPalette(c("darkred", "red", "orange", "yellow",
"green", "darkgreen", "cyan")), points.cex=0.7, alpha=0.65,
axis.rot=c(0, 0), auto.key=TRUE, key.space= "right")
params |
matrix or data.frame with the parameter values |
gofs |
numeric with the values of goodness-of-fit values for each one of the parameters in |
p1.name |
character, name of the 1st parameter to be plotted |
p2.name |
character, name of the 2nd parameter to be plotted |
type |
character, type of plot. Valid values are: |
MinMax |
character, indicates whether the optimum value in |
gof.name |
character, name of the objective function to be plotted. It has to correspond to the name of one column of |
main |
character with the title for the plot |
GOFcuts |
numeric, specifies at which values of the objective function given in |
colorRamp |
R function defining the colour ramp to be used for colouring the pseudo-3D dotty plots of Parameter Values, OR character representing those colours |
points.cex |
size of the points to be plotted |
alpha |
numeric between 0 and 1 representing the transparency level to apply to |
axis.rot |
numeric vector of length 2 representing the angle (in degrees) by which the axis labels are to be rotated, left/bottom and right/top, respectively. |
auto.key |
logical, indicates whether the legend has to be drawn or not |
key.space |
character, position of the legend with respect to the plot |
A lattice-based figure with the values of the objective function in a two dimensional box, where the boundaries of each parameter are used as axis.
Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com
read_results
, plot_results
, plot_GofPerParticle
, plot_ParamsPerIter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.