Description Usage Arguments Details Value Author(s) See Also
View source: R/plot.tauSurface.R
Plot estimated interaction index surface slice along one of the doses
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
tauSurface |
A |
tauSurface2 |
An optional second |
side |
Data column to use as x-axis: "d1", "d2", "total" or another
variable from the data in the |
groupBy |
Data column to use as grouping. Note that if comparison of two surfaces is performed, this will be ignored. |
colorBy |
Data column to use for coloring. |
facetBy |
Whether to facet plots by extra variables used in the tau formula ("auto") or manually provided data column(s) to facet by. |
continuous |
Whether continuous type of plot is requested (for
|
continuous2 |
Whether continuous type of plot is requested (for
|
addLine |
Whether to connect tau estimates for subsequent doses. |
funs |
A list with functions to compute tau surface and confidence
bands (for |
funs2 |
A list with functions to compute tau surface and confidence
bands (for |
title |
Plot title. |
tauNames |
Tau surface names to use for the plot legend in the case of
comparison of estimates (i.e. when |
digits |
Number of digits used in |
facetOpts |
Arguments passed to |
The function returns a 2d plot for the interaction index (tau)
estimates as a function of one of the two doses in a checkerboard design, or
rays in a ray design. Pointwise confidence intervals are displayed as error
bars. In addition to plotting tau estimates from one tauSurface
object,
the function can be used to compare two tauSurface
objects.
This can be used, for example, to see the difference between Wald-type and
boostrap-based confidence intervals for tau.
Although the function can be used 'manually', typically one calls the
plot.tauSurface
method, which then calls this function when
which = "2d"
.
A ggplot2 object.
Maxim Nazarov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.