vec_na {vctrs}R Documentation

Create a missing vector

Description

Create a missing vector

Usage

vec_na(x, n = 1L)

Arguments

x

Template of missing vector

n

Desired size of result

Examples

vec_na(1:10, 3)
vec_na(Sys.Date(), 5)
vec_na(mtcars, 2)

[Package vctrs version 0.1.0 Index]