Description Usage Arguments Value Examples
Impute the root node for an observed cluster (inner function)
1  | impute_root_inner(data, n, n_pos, B = 1, prob_pos = 0.5)
 | 
data | 
 data frame with the following columns (one row) 
  | 
n | 
 cluster size  | 
n_pos | 
 number of positive smears in cluster  | 
B | 
 scaling factor of data imputation. Default is 1.  | 
prob_pos | 
 probability of imputed root being positive smear.  | 
data frame with new_data, same column names but different counts.
1 2 3  | data <- data.frame(n = 1, n_pos = 1, freq = 10
out <- impute_root_inner(data)
head(out)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.