Description Usage Arguments Value Examples
View source: R/count_metrics.R
Calculate p-value of trajectory current counts vs prior counts
1 | pval_trajectory(curr, prev)
|
curr |
vector of counts for current period (must be non-negative integer) |
prev |
vector of counts for previous period (must be non-negative integer) |
a p.value extracted from the results of poisson.test
1 | traj_pval <- pval_trajectory(curr = 100L, prev = 80L)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.