Description Usage Arguments Value

View source: R/fonctions_sujets.R

This function will provide the total sample size of your planned cost-effectiveness study. The optimal sample size of your planned cost-effectiveness study is reached when EVPIn (a vector calculated by the evpi_decrease object) is less or equal to (step_ref + step_exp)*cost_indiv

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

`object_evpi_decrease` |
: evpi_decrease object. See create_object_evpi_decrease |

`cost_indiv` |
: cost of an additional inclusion in your planned cost-effectiveness study. |

A dataframe containing three vectors : N, N_exp, N_ref, the total number of subjects of your planned cost-effectiveness study, in the experimental group and in the reference group respectively.

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.