Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


parttime (version 0.1.2)

sample_partial_styles: Find unique forms of missingness

Description

Find unique forms of missingness

Usage

sample_partial_styles(x)

Value

The indices of the first instance of unique forms of missingness

Arguments

x

A partial_time vector

Examples

Run this code
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