PIR_loglik | R Documentation |

Calculates the log-likelihood of within-session PIR data

```
PIR_loglik(param, U, c, d)
```

`param` |
vector of parameter values logit(prevalence), log(incidence) |

`U` |
a vector containing interval-level PIR data |

`c` |
the length of the active interval |

`d` |
the length of the recording interval The vector |

The value of the log-likelihood

Daniel Swan <dswan@utexas.edu>

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.