Description Usage Arguments Value Examples

View source: R/tune_regularization.R

Computes the threshold $lambda_QUT$ with parametric bootstrap when covariates are available.
If you don't have any covariates, use the function `lambda_QUT`

which will be significantly faster.

1 2 | ```
lambda_QUT_covariates(Y, projection = default_projection, q = 0.95,
n = 100)
``` |

`Y` |
A matrix of counts (contingency table). |

`projection` |
A projection function on the space orthogonal to covariates. By default centers by rows and columns |

`q` |
A number between |

`n` |
An integer. The number of parametric bootstrap samples to draw. |

the value of $lambda_QUT$ to use in LoRI.

1 2 3 4 5 |

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.