sample_partial_styles {parttime}R Documentation

Find unique forms of missingness

Description

Find unique forms of missingness

Usage

sample_partial_styles(x)

Arguments

x

A partial_time vector

Value

The indices of the first instance of unique forms of missingness

Examples

x <- as.parttime(c("2022", "2023", "2021-01", "2024-12"))
x[parttime:::sample_partial_styles(x)]


[Package parttime version 0.1.2 Index]