Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/convert.d.to.nnc.R

These two functions are used by `nnc`

to compute the
Numbers Needed for Change.

1 2 3 4 5 6 | ```
convert.d.to.nnc(d, cer, r = 1,
eventDesirable = TRUE,
eventIfHigher = TRUE)
convert.d.to.eer(d, cer,
eventDesirable = TRUE,
eventIfHigher = TRUE)
``` |

`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). |

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

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

These two functions are used by `nnc`

to compute the
Numbers Needed for Change.

The converted value.

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 | ```
convert.d.to.eer(d=.5, cer=.25);
convert.d.to.nnc(d=.5, cer=.25);
``` |

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.