vctrs (version 0.0.0.9000)

unknown: A vector of unknown type

Description

This is a special vector type used to represent of known length but unknown type.

Usage

unknown(n = 0)

is_unknown(x)

# S3 method for unknown vec_type2(x, y)

Arguments

n

Length of vector

Examples

Run this code
# NOT RUN {
vec_ptype()
vec_ptype(NA)

vec_ptype(unknown(), "x")
# }

Run the code above in your browser using DataCamp Workspace