sample_partial_styles: Find unique forms of missingness

View source: R/parse_to_parttime_matrix.R

sample_partial_stylesR 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)]


parttime documentation built on May 29, 2024, 6:25 a.m.