View source: R/fonctions_sujets.R

Produces a plot to explain the estimated sample size calculated based on the EVPI gain after the inclusion of new participants and inclusion costs. Use sample_size function first to estimate the sample size.

1 | ```
graph_gain_n(object_evpi_decrease, cost_indiv)
``` |

`object_evpi_decrease` |
: evpi_decrease object. See create_object_evpi_decrease |

`cost_indiv` |
: mean costs induced by the inclusion and follow-up of one participant in the study |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.