unspecified: A 1d vector of unspecified type

Description Usage Arguments Examples

View source: R/type-unspecified.R

Description

This is a partial type used to represent logical vectors that only contain NA. These require special handling because we want to allow NA to specify missingness without requiring a type.

Usage

1
2
3
4
unspecified(n = 0)

## S3 method for class 'vctrs_unspecified'
vec_ptype2(x, y, ...)

Arguments

n

Length of vector

Examples

1
2
3
4
5
6
7

vctrs documentation built on Jan. 25, 2020, 1:06 a.m.