Description Usage Arguments Details Value Author(s) References Examples

This function computes the Numbers Needed for Change, and shows a visualisation to illustrate them.

1 2 3 4 5 6 |

`d` |
The value of Cohen's |

`cer` |
The Control Event Rate. |

`r` |
The correlation between the determinant and behavior (for mediated Numbers Needed for Change). |

`threshold` |
If the event rate is not available, a threshold value can be specified
instead, which is then used in conjunction with the mean
( |

`mean` |
The mean value, used to draw the plot, or, if no CER is provided but instead the threshold value, to compute the CER. |

`sd` |
The standard deviation, used to draw the plot (and to compute the CER if a threshold value is supplied instead of the CER). |

`eventDesirable` |
Whether an event is desirable or undesirable. |

`eventIfHigher` |
Whether scores above or below the threshold are considered 'an event'. |

`d.ci` |
Instead of providing a point estimate for Cohen's |

`cer.ci` |
Instead of providing a point estimate for the Control Event Rate, a confidence interval can be provided. |

`r.ci` |
Instead of providing a point estimate for the correlation, a confidence interval can be provided. |

`d.n` |
In addition to providing a point estimate for Cohen's |

`cer.n` |
In addition to providing a point estimate for the Control Event Rate, a sample size can be provided; if it is, the confidence interval is computed. |

`r.n` |
In addition to providing a point estimate for the correlation, a sample size can be provided; if it is, the confidence interval is computed. |

`plot` |
Whether to generate and show the plot. |

`returnPlot` |
Whether to return the plot (as an attribute), or to only display it. |

`silent` |
Whether to suppress notifications. |

This function computes the Numbers Needed for Change. See Gruijters & Peters (2017) for details.

The Numbers Needed for Change (NNC), potentially with a plot visualising the NNC in an attribute.

Gjalt-Jorn Peters & Stefan Gruijters

Maintainer: Gjalt-Jorn Peters <[email protected]>

Gruijters, S. L. K., & Peters, G.-J. Y. (2017). Introducing the Numbers Needed for Change (NNC): A practical measure of effect size for intervention research.

1 2 3 4 5 6 |

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.