| plotSurface2 | R Documentation | 
Function to generate surface plots (using the plotly package) to visualize changes in the performance metrics of interest
as gap structure changes. 
 The x-axis represents p, the proportion of missing data.
 The y-axis represents g, the gap width.
 The z-axis represents f(p,g), the value of the performance metric of interest, according to some statistic.
plotSurface2(
  agObject,
  m = names(agObject[[1]][[1]][[1]]),
  d = names(agObject),
  toggle = "dataset",
  grid = FALSE,
  legend = TRUE,
  metric = "MSE",
  f = "median",
  highlight = NULL,
  highlight_color = "#FF0000",
  colors = c("#FF8633", "#FFAF33", "#FFD133", "#FFEC33", "#D7FF33", "#96FF33")
)
agObject | 
 
  | 
m | 
 
  | 
d | 
 
  | 
toggle | 
 
  | 
metric | 
 
  | 
f | 
 
  | 
highlight | 
 
  | 
highlight_color | 
 
  | 
colors | 
 
  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.