poiss_test_site_ae_vs_study_ae {simaerep} | R Documentation |
Poisson test for vector with site AEs vs vector with study AEs.
Description
Internal function used by sim_sites()
.
Usage
poiss_test_site_ae_vs_study_ae(site_ae, study_ae, visit_med75)
Arguments
site_ae |
vector with AE numbers |
study_ae |
vector with AE numbers |
visit_med75 |
integer |
Details
sets pvalue=1 if mean AE site is greater than mean AE study or ttest gives error
Value
pval
See Also
Examples
poiss_test_site_ae_vs_study_ae(
site_ae = c(5, 3, 3, 2, 1, 6),
study_ae = c(9, 8, 7, 9, 6, 7, 8),
visit_med75 = 10
)
poiss_test_site_ae_vs_study_ae(
site_ae = c(11, 9, 8, 6, 3),
study_ae = c(9, 8, 7, 9, 6, 7, 8),
visit_med75 = 10
)
[Package simaerep version 0.5.0 Index]