Each projectable_col
stores a face value alongside a range of metadata.
This function extracts that value.
face_value(x)
A projectable_col
An atomic vector representing the face value of x
If x
is not a projectable_col
, face_value()
simply returns x
unaltered.
face_value(col_freq(1:5, 6:10, summarised = TRUE))
#> [1] 0.1666667 0.2857143 0.3750000 0.4444444 0.5000000
face_value(1:5)
#> [1] 1 2 3 4 5