get_outgrphs: Get Risk and Survival Plots

Description Usage Arguments Value

View source: R/comparisons.R

Description

This internal function obtains the risk and survival plots for gformula_survival.

Usage

1
get_outgrphs(x, risk, survival, xlab, ylab_risk, ylab_surv, ci_risk)

Arguments

x

Object of class "gformula_survival".

risk

Logical scalar indicating whether to include a plot for the risk.

survival

Logical scalar indicating whether to include a plot for the survival.

xlab

Character string for the x axes of all plots.

ylab_risk

Character string for the y axis of the plot for the risk (if applicable).

ylab_surv

Character string for the y axis of the plot for the survival (if applicable).

ci_risk

Logical scalar specifying whether to include error bars for the 95% confidence intervals of the estimated risk under the natural course. This argument is only effective if the argument nsamples was set to a positive value in gformula_survival.

Value

A list of plots for the risk and survival.


gfoRmula documentation built on July 13, 2021, 9:07 a.m.