Description Usage Arguments See Also Examples
View source: R/plot.tauSurface.R
2D slice and 3D surface plots for the interaction index surface.
1 2 |
x |
A |
y |
An optional second |
which |
Whether to show a 3d plot (surface plot) or a 2d plot
(slice plot). Correspondingly |
... |
Further arguments passed to |
tauPlot3d
, tauPlot2d
for the underlying
functions and their arguments. contour.tauSurface
for another
visual representation of the estimated interaction indices.
1 2 3 4 5 6 7 8 9 10 11 | data("checkerboardData", package = "drugCombo")
data1 <- checkerboardData[checkerboardData$exp == 1, ]
fitUniform <- fitModel(data1, model = "uniform")
tauUniform <- getTauSurface(fitUniform)
fitLinear <- fitModel(data1, model = "linear1")
tauLinear <- getTauSurface(fitLinear)
plot(tauUniform)
plot(tauLinear, which = "2d", side = "d2", facetBy = "d1")
plot(tauLinear, which = "3d")
plot(tauUniform, tauLinear, tauNames = c("uniform", "linear"))
plot(tauUniform, tauLinear, continuous2 = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.