Description Usage Arguments Value See Also
View source: R/subgroupProfiles-plotFcn.R
subgroupProfiles()
is an internal function that
takes a dataset and returns a plot.
1 2 3 | subgroupProfiles(ds, SPplotPts = TRUE, SPplotLines = TRUE,
SPcovarGuideLines = 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 |
SPplotPts |
A logical scalar. Should the plot include points? |
SPplotLines |
A logical scalar. Should the plot include connecting lines? |
SPcovarGuideLines |
A logical scalar. Should the plot include a black vertical dotted line for each covariate? |
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
,
vizByCovar
, vizBySubgroup
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.