add_curve_flexsurvreg: Distribution life curve

Description Usage Arguments Value

View source: R/add_curve_flexsurvreg.R

Description

Make life curve from distribution

Usage

1
2
add_curve_flexsurvreg(model_flexsurvreg, lower = FALSE,
  log_transform = FALSE)

Arguments

log_transform:

If true, add the log = TRUE to the distribution function.

lower:

the lower argument of the dist functions.

model_flexsurvreg:

an object of class flexsurvreg.

Value

A Layer for ggplot2 grafics, from a "stat_function()"


leonardommarques/reliabilitytools documentation built on Aug. 1, 2019, 8:03 p.m.