plotci: Plot CI curve

Description Usage Arguments

Description

Plots a CI curve. Currently not very powerful. Only plots a single curve

Usage

1
2
3
  plotci(data, response, group = NULL, units = "months",
    main = "Viral Infections", CI = F, legpos = "topleft",
    xlim = NULL, outcomes = NULL)

Arguments

data

dataframe containing data

response

character vector or list of character vector. If a list it plot the '1' event for all outcomes on the same plot

group

string of the group want to stratify by

units

units of time

main

String corresponding to title

CI

Bool If True will plot CI and only the '1' event. if F will plot all events except for the final one

legpos

string indicating which position to put legend choies are "topright" etc

xlim

numeric vector corresponding to xlimits. Default is NULL

outcomes

character vector of the names of the different competing outcomes


reportRx documentation built on May 2, 2019, 10:44 a.m.

Related to plotci in reportRx...