fitPlot3d: Plot 3d surface of observations and model fit

Description Usage Arguments Value Author(s)

Description

Plot 3d surface of observations and model fit

Usage

1
2
3
4
5
6
7
fitPlot3d(
  fit,
  logScale = TRUE,
  useFineGrid = TRUE,
  showMesh = TRUE,
  widget = FALSE
)

Arguments

fit

A HarbronFit object returned by fitModel.

logScale

Whether to use log-scale for x and y axes.

useFineGrid

Whether to use fine grid for plotting the fitted surface (default), or calculate predictions only at the observed data points.

showMesh

Whether to show 'mesh' on the plot. Note: currently doesn't play nicely with the useFineGrid argument, so the latter is ignored.

widget

Whether to return a "htmlwidget" object instead of plotting on a 3d device.

Value

A 3d plot is shown or an object of class "htmlwidget" as returned by rglwidget.

Author(s)

Maxim Nazarov


drugCombo documentation built on June 30, 2021, 1:07 a.m.