
Last chance! 50% off unlimited learning
Sale ends in
Find unique forms of missingness
sample_partial_styles(x)
The indices of the first instance of unique forms of missingness
A partial_time
vector
x <- as.parttime(c("2022", "2023", "2021-01", "2024-12"))
x[parttime:::sample_partial_styles(x)]
Run the code above in your browser using DataLab