Skip to contents

Summarize a dynpv object

Usage

# S3 method for class 'dynpv'
summary(object, ...)

Arguments

object

Tibble of class "dynpv" created by dynpv() or futurepv()

...

Currently unused

Value

A list of class "dynpv_summary" with the following elements:

  • ncoh: Number of cohorts of uptaking patients, from ncoh()

  • ntimes: Number of times at which present value calculations are performed, from ntimes()

  • uptake: Total number of uptaking patients, from uptake()

  • sum_by_coh: Present value for each uptake cohort and calculation time, from sum_by_coh()

  • total: Total present value, from total()

  • mean: Mean present value per uptaking patient, from mean(), equal to total/uptake.

See also