UtilityTrial-class: Trial data with utility-weighted beyond-trial extension

Description Usage Arguments Details Slots

Description

An S4 class of the data from a trial with hazards and utility data supplied for each outcome in the trial

TODO documentation

Usage

1
2
UtilityTrial(df, df_mu, df_Ti, df_tj, participant, outcome, hazard, regime,
  state, followup, censor, s, s_max, w, discount)

Arguments

df

a data.frame of the trial data (long format)

df_mu

a data.frame of beyond-trial hazard data

df_Ti

a data.frame of health state regime survival time data

df_tj

a data.frame of health state interval data

participant

a formula describing the variables related to participants

outcome

a formula describing the variables related to outcomes

hazard

a formula describing the variables of the hazard

regime

a formula describing the variables of the health state regime

state

a formula describing the variables of health state intervals

followup

an expression for follow-up in trial data (NSE)

censor

an expression for censoring status in trial data (NSE)

s

an expression for the time variable in the hazard data (NSE)

s_max

expression for extended follow-up time variable in participant data (NSE)

w

expression for the utility variable in the health state data (NSE)

discount

numeric (scalar) value of lifeyear discount rate

Details

Hazard data will be used to extend the life-year measurements beyond the follow-up times of the trial. Utility data will be used to weight the life-years.

Slots

df_Ti

a tbl_df of survival times intervals for health state regimes

df_tj

a tbl_df of health state utilities and associated time interval data

regime

a formula describing the dependency of survival time intervals for each health state regime

state

a formula describing the dependency of time intervals each individual health state

w

a numeric vector for the utility in health state data


stephematician/trialcostR documentation built on May 30, 2019, 3:18 p.m.