Description Usage Arguments Value See Also
View source: R/vizByCovar-plotFcn.R
vizByCovar()
is an internal function that generates a
plot containing the covariate profile of a specified
covariate.
1 2 | vizByCovar(ds, covar0, VCPplotPts = TRUE, VCPplotLines = FALSE, col.outcome,
col.trt, col.ITE, col.grp, cols.covars, cols.cts, cols.ctg, simData)
|
ds |
Any object that can be coerced into a |
covar0 |
A scalar integer, defining which column of the data set contains the covariate to be plotted. |
VCPplotPts |
A logical scalar. Should the plot include points? |
VCPplotLines |
A logical scalar. Should the plot include a connecting line? |
col.outcome |
A scalar integer, indicating the column of |
col.trt |
A scalar integer, indicating the column of |
col.ITE |
A scalar integer, indicating the column of |
col.grp |
A scalar integer, indicating the column of |
cols.covars |
A integer vector, indicating the columns of |
cols.cts |
A integer vector, indicating the columns of |
cols.ctg |
A integer vector, indicating the columns of |
simData |
A logical scalar, indicating whether the data is the
simple simulated data
( |
If both of the logical arguments are false, the output will be a plotly object containing an empty plot. Otherwise, the output will be a ggplot object containing the plot.
Other plotting functions: covarProfiles
,
forestPlotGen.fewGroups
,
forestPlotGen.manyGroups
,
forestPlot
, groupQuantiles
,
subgroupProfiles
,
vizBySubgroup
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.