Description Usage Arguments Value Examples

`create_binomial`

uses interest area count columns to create
a success/failure column for each IA which is suitable for logistic regression.
N.B.: This function will work for data with a maximum of 8 interest areas.

1 2 |

`data` |
A data table object output by either |

`NoIA` |
A positive integer indicating the number of interest areas defined when creating the study. |

`ObsPerBin` |
A positive integer indicating the number of observations to
use in the calculation. Typically, this will be the number of samples per
bin, which can be determined with |

`ObsOverride` |
A logical value controlling restrictions on the value provided to ObsPerBin. Default value is FALSE. |

`CustomBinom` |
An optional parameter specifying a vector containing two integers corresponding to the interest area IDs to be combined. |

A data table with additional columns (the number of which depends on
the number of interest areas specified) added to `data`

.

1 2 3 4 5 6 | ```
## Not run:
library(VWPre)
# Create binomial (success/failure) column...
df <- create_binomial(data = dat, NoIA = 4, ObsPerBin = 20)
## End(Not run)
``` |

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.