plotExposure: Retrieve GGPlot object for the Relative Risk (RR) dependend...

Description Usage Arguments Value

View source: R/plot_exposure.r

Description

Retrieve GGPlot object for the Relative Risk (RR) dependend on the Exposure of a Crosspred object.

Usage

1
2
3
4
5
6
7
plotExposure(
  cp,
  filepath = NULL,
  title = NULL,
  colours = colourPalette,
  legendPos = c(0.5, 0.1)
)

Arguments

cp

Crosspred object to plot.

filepath

Filepath to save the plot.

title

Title of plot.

Value

object GGPlot object. Execute, i.e. do not save it in a variable, to plot.


schnecki/dlnm.interaction documentation built on Feb. 14, 2022, 5:10 a.m.