Skip to contents

Introduction

The ckbplotr R package provides functions to help create and style plots in R using the ggplot2 graphics package

CKB style

Use + ckb_style() to apply CKB style to a ggplot. See CKB style ggplot for details.

Plots

Create plots of estimates against risk factor levels using shape_plot(). See Shape plots for details.

Create forest plots using forest_plot(). See Forest plots for details.

See Page layouts for tips and packages for combining separate plots.

Saving

See Save plots to files.