Calculate the proportion of missing values in a breech face scan

comparison_calcPropMissing(heightValues)

Arguments

heightValues

list/tibble column of x3p objects

Value

a vector of the same length as the input containing the proportion of missing values in each x3p object's breech face scan.

Examples

data(fadul1.1_processed)

cellTibble <- fadul1.1_processed %>%
comparison_cellDivision(numCells = c(8,8)) %>%
dplyr::mutate(cellPropMissing = comparison_calcPropMissing(heightValues = cellHeightValues))

head(cellTibble)
#> # A tibble: 6 x 3
#>   cellIndex cellHeightValues cellPropMissing
#>   <chr>     <named list>               <dbl>
#> 1 1, 1      <x3p>                      1    
#> 2 1, 2      <x3p>                      0.899
#> 3 1, 3      <x3p>                      0.916
#> 4 1, 4      <x3p>                      0.961
#> 5 1, 5      <x3p>                      0.936
#> 6 1, 6      <x3p>                      0.833