tests/testthat/_snaps/com_segment_missingness.md

com_segment_missingness works w/g (group|strata)_vars

structure(list(v00000 = structure(c(1L, 1L, 1L, 1L, 1L, 2L, 2L, 
2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 5L, 5L, 5L, 
5L, 5L), .Label = c("Berlin", "Hamburg", "Leipzig", "Cologne", 
"Munich"), class = c("ordered", "factor")), Group = c(1, 1, 1, 
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 
1), Examinations = structure(c(1L, 2L, 3L, 4L, 5L, 1L, 2L, 3L, 
4L, 5L, 1L, 2L, 3L, 4L, 5L, 1L, 2L, 3L, 4L, 5L, 1L, 2L, 3L, 4L, 
5L), .Label = c("PART_STUDY", "PART_PHYS_EXAM", "PART_LAB", "PART_INTERVIEW", 
"PART_QUESTIONNAIRE"), class = "factor"), "No. of Participants" = c(593L, 
593L, 593L, 590L, 573L, 617L, 617L, 617L, 612L, 597L, 585L, 585L, 
585L, 581L, 567L, 581L, 581L, 581L, 579L, 572L, 564L, 564L, 564L, 
562L, 555L), "No. of missing segments" = c(0L, 18L, 16L, 53L, 
0L, 0L, 31L, 28L, 76L, 0L, 0L, 29L, 38L, 75L, 0L, 0L, 35L, 19L, 
61L, 0L, 0L, 47L, 12L, 67L, 0L), "(%) of missing segments" = c(0, 
3.04, 2.7, 8.98, 0, 0, 5.02, 4.54, 12.42, 0, 0, 4.96, 6.5, 12.91, 
0, 0, 6.02, 3.27, 10.54, 0, 0, 8.33, 2.13, 11.92, 0), threshold = c(5, 
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 
5, 5, 5), direction = c("above", "above", "above", "above", "above", 
"above", "above", "above", "above", "above", "above", "above", 
"above", "above", "above", "above", "above", "above", "above", 
"above", "above", "above", "above", "above", "above"), GRADING = c(0, 
0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 
0, 1, 0)), out.attrs = list(dim = c(Strata = 5L, Group = 1L, 
Examinations = 5L), dimnames = list(Strata = c("Strata=Leipzig", 
"Strata=Berlin", "Strata=Munich", "Strata=Hamburg", "Strata=Cologne"
), Group = "Group=1", Examinations = c("Examinations=PART_STUDY", 
"Examinations=PART_PHYS_EXAM", "Examinations=PART_LAB", "Examinations=PART_INTERVIEW", 
"Examinations=PART_QUESTIONNAIRE"))), row.names = c(2L, 7L, 12L, 
17L, 22L, 4L, 9L, 14L, 19L, 24L, 1L, 6L, 11L, 16L, 21L, 5L, 10L, 
15L, 20L, 25L, 3L, 8L, 13L, 18L, 23L), class = "data.frame")
structure(list(v00000 = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 
1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 
3L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 
4L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L), .Label = c("Berlin", 
"Hamburg", "Leipzig", "Cologne", "Munich"), class = c("ordered", 
"factor")), v00002 = structure(c(1L, 1L, 1L, 1L, 1L, 2L, 2L, 
2L, 2L, 2L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 
1L, 1L, 2L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 
2L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L), .Label = c("females", 
"males"), class = c("ordered", "factor")), Examinations = structure(c(1L, 
2L, 3L, 4L, 5L, 1L, 2L, 3L, 4L, 5L, 1L, 2L, 3L, 4L, 5L, 1L, 2L, 
3L, 4L, 5L, 1L, 2L, 3L, 4L, 5L, 1L, 2L, 3L, 4L, 5L, 1L, 2L, 3L, 
4L, 5L, 1L, 2L, 3L, 4L, 5L, 1L, 2L, 3L, 4L, 5L, 1L, 2L, 3L, 4L, 
5L), .Label = c("PART_STUDY", "PART_PHYS_EXAM", "PART_LAB", "PART_INTERVIEW", 
"PART_QUESTIONNAIRE"), class = "factor"), "No. of Participants" = c(293L, 
293L, 293L, 291L, 283L, 300L, 300L, 300L, 299L, 290L, 298L, 298L, 
298L, 297L, 289L, 319L, 319L, 319L, 315L, 308L, 293L, 293L, 293L, 
291L, 282L, 292L, 292L, 292L, 290L, 285L, 301L, 301L, 301L, 299L, 
298L, 280L, 280L, 280L, 280L, 274L, 293L, 293L, 293L, 292L, 290L, 
271L, 271L, 271L, 270L, 265L), "No. of missing segments" = c(0L, 
12L, 6L, 30L, 0L, 0L, 6L, 10L, 23L, 0L, 0L, 19L, 16L, 38L, 0L, 
0L, 12L, 12L, 38L, 0L, 0L, 9L, 16L, 36L, 0L, 0L, 20L, 22L, 39L, 
0L, 0L, 24L, 11L, 40L, 0L, 0L, 11L, 8L, 21L, 0L, 0L, 24L, 5L, 
40L, 0L, 0L, 23L, 7L, 27L, 0L), "(%) of missing segments" = c(0, 
4.1, 2.05, 10.31, 0, 0, 2, 3.33, 7.69, 0, 0, 6.38, 5.37, 12.79, 
0, 0, 3.76, 3.76, 12.06, 0, 0, 3.07, 5.46, 12.37, 0, 0, 6.85, 
7.53, 13.45, 0, 0, 7.97, 3.65, 13.38, 0, 0, 3.93, 2.86, 7.5, 
0, 0, 8.19, 1.71, 13.7, 0, 0, 8.49, 2.58, 10, 0), threshold = c(5, 
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 
5, 5, 5, 5, 5, 5, 5), direction = c("above", "above", "above", 
"above", "above", "above", "above", "above", "above", "above", 
"above", "above", "above", "above", "above", "above", "above", 
"above", "above", "above", "above", "above", "above", "above", 
"above", "above", "above", "above", "above", "above", "above", 
"above", "above", "above", "above", "above", "above", "above", 
"above", "above", "above", "above", "above", "above", "above", 
"above", "above", "above", "above", "above"), GRADING = c(0, 
0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 
1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 
1, 0, 0, 1, 0, 1, 0)), out.attrs = list(dim = c(Strata = 5L, 
Group = 2L, Examinations = 5L), dimnames = list(Strata = c("Strata=Leipzig", 
"Strata=Berlin", "Strata=Munich", "Strata=Hamburg", "Strata=Cologne"
), Group = c("Group=females", "Group=males"), Examinations = c("Examinations=PART_STUDY", 
"Examinations=PART_PHYS_EXAM", "Examinations=PART_LAB", "Examinations=PART_INTERVIEW", 
"Examinations=PART_QUESTIONNAIRE"))), row.names = c(2L, 12L, 
22L, 32L, 42L, 7L, 17L, 27L, 37L, 47L, 4L, 14L, 24L, 34L, 44L, 
9L, 19L, 29L, 39L, 49L, 1L, 11L, 21L, 31L, 41L, 6L, 16L, 26L, 
36L, 46L, 5L, 15L, 25L, 35L, 45L, 10L, 20L, 30L, 40L, 50L, 3L, 
13L, 23L, 33L, 43L, 8L, 18L, 28L, 38L, 48L), class = "data.frame")
structure(list(v00002 = structure(c(1L, 1L, 1L, 1L, 1L, 2L, 2L, 
2L, 2L, 2L), .Label = c("females", "males"), class = c("ordered", 
"factor")), Examinations = structure(c(1L, 2L, 3L, 4L, 5L, 1L, 
2L, 3L, 4L, 5L), .Label = c("PART_STUDY", "PART_PHYS_EXAM", "PART_LAB", 
"PART_INTERVIEW", "PART_QUESTIONNAIRE"), class = "factor"), "No. of Participants" = c(1478L, 
1478L, 1478L, 1470L, 1442L, 1462L, 1462L, 1462L, 1454L, 1422L
), "No. of missing segments" = c(0L, 88L, 54L, 184L, 0L, 0L, 
72L, 59L, 148L, 0L), "(%) of missing segments" = c(0, 5.95, 3.65, 
12.52, 0, 0, 4.92, 4.04, 10.18, 0), threshold = c(5, 5, 5, 5, 
5, 5, 5, 5, 5, 5), direction = c("above", "above", "above", "above", 
"above", "above", "above", "above", "above", "above"), GRADING = c(0, 
1, 0, 1, 0, 0, 0, 0, 1, 0)), out.attrs = list(dim = c(Group = 2L, 
Examinations = 5L), dimnames = list(Group = c("Group=females", 
"Group=males"), Examinations = c("Examinations=PART_STUDY", "Examinations=PART_PHYS_EXAM", 
"Examinations=PART_LAB", "Examinations=PART_INTERVIEW", "Examinations=PART_QUESTIONNAIRE"
))), row.names = c(1L, 3L, 5L, 7L, 9L, 2L, 4L, 6L, 8L, 10L), class = "data.frame")


Try the dataquieR package in your browser

Any scripts or data that you put into this service are public.

dataquieR documentation built on July 26, 2023, 6:10 p.m.