Trial-class: Trial data

Description Usage Arguments Slots

Description

An S4 class for trial data.

TODO documentation

Usage

1
Trial(df, participant, outcome, followup, discount = 0)

Arguments

df

a tbl_df of the trial data (long format)

participant

a formula for the variables describing participants

outcome

a formula for the variables describing outcomes

followup

expression for follow-up in data.frame (NSE)

discount

numeric (scalar) value of lifeyear discount rate

Slots

df

a tbl_df of trial participant and outcome data

participant

a formula for variables describing participant

outcome

a formula for variables describing outcomes

followup

a numeric vector of follow-up times of participants

discount

a numeric (scalar) value of the lifeyear discount rate


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