Description Usage Arguments Value Examples
This function allows you to compute the average number of assays needed per pool within each provided pooled cluster.
1 | impa(v, s, K = 5, vf_cut = 1000, lod = 0)
|
v |
Vector of viral load. |
s |
Vector of risk score with the same length of viral load. |
K |
Pool size, default is 5. |
vf_cut |
Cutoff for individual viral failure, default is 1000. |
lod |
Vector of true VL of those undetectable, default is 0. |
A vector with length equals the number of pools. Each element indicates the estimated number of tests for the corresponding pool.
1 2 3 4 | d = Simdata
V = d$VL # Viral Load
S = d$S # Risk Score
impa(V, S, K = 5, vf_cut = 1000, lod = 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.