Generate different types of plots for class IDEMIMP
objects generated
by imImpAll
# S3 method for IDEMIMP
plot(x, opt = c("imputed", "composite"), fname = NULL, ...)
A class IDEMIMP
object returned from imImpAll
Types of the plot
imputed
: Plot density of imputed values and the density of the observed outcomes
composite
: Generate cumulative plot of the composite survival and functional outcome
File name of the result pdf file. If fname
is null,
result pdf file will not be generated
Options for generating the plots.
deltas
: Imputation sensitivity parameter for which to generate
the results
endp
: If TRUE
, plot the densities of the imputed
functional outcomes. Otherwise, plot the densities of the imputed
outcomes
adj
density
estimation option
cols
plot
option for colors
ltys
plot
options for line types
xlim
plot
options
ylim
plot
options
mfrow
plot
options
at.surv
: Sets the range of the survival times to
plot in the cumulative distribution function. By default the range is the
range of survival values up to the duration of the study
at.z
: Sets the range of the functional outcome to plot in the
cumulative distribution function. By defualt this is the range of the
functional outcomes plus the buffer amount to improve visibility in the
transition from survival to functional outcome
p.death
: Proportion
of the plot width devoted to Survival. By default the cumulative
distribution will devote horizontal space to the survival portion that is
proportional to the number of subjects who die prior to duration
buffer
: Small horizontal gap used to better visually distinguish
the transition from survival to functional outcome
delta
: Imputation sensitivity parameter for which to generate the
results
seg.lab
: Labels for the two components of the composite
outcome
main
: plot
options
imImpAll