Learn R Programming

reportRx (version 1.0)

citime: Get CI cinfidence interval

Description

Returns the confidence interval of a CI at a specified time. Currently not very powerful. Only works on single strata.

Usage

citime(data, response, times, units = "Years", outcomes = NULL, decimals = 2)

Arguments

data
dataframe containing data
response
character vector of response
times
numeric vector specifying single time to get CI for
units
string specifying the unit of times
outcomes
character vector specifying names of competing outcomes. Leave NULL if there is only one outcome
decimals
positive integer corresponding to the number of decimals