PlotOptimizationIterations | R Documentation |
Plots multiple scatter plots into one figure
PlotOptimizationIterations( df, columns.to.plot, x.axis.var, x.axis.title, x.min, x.max, save.file, title, y.axis.title = "", y.max = 1, point.size = 1, connect.dots = T, plot.legend = T, legend.ncol = 1, font.size.med = 14, font.size.large = 16, plot.margin = unit(c(0.5, 0.5, 0.5, 0.5), "cm") )
df |
A data.frame (from reading "FIREVAT_Optimization_Logs.tsv") |
columns.to.plot |
A character vector (of column names to plot) |
x.axis.var |
x axis variable |
x.axis.title |
x axis title |
x.min |
x axis minimum value |
x.max |
x axis maximum value |
save.file |
Filename (including full path) to which the plot will be saved |
title |
Plot title |
y.axis.title |
y axis title; Default = "" |
y.max |
y axis maximum value; Default = 1 |
point.size |
Point size; Default = 1 |
connect.dots |
If True draws dots for each iteration; Default = True |
plot.legend |
If True write legend of plot; Default = T |
legend.ncol |
legend.n Default = 1 |
font.size.med |
Medium font size; Default = 14 |
font.size.large |
Large font size; Default = 16 |
plot.margin |
Margin vector for plot; Default = unit(c(0.5, 0.5, 0.5, 0.5), "cm")) |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.