R: Vector Helpers

# Vector Helpers

## Documentation for package ‘vctrs’ version 0.6.5

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A D F H I L M N O R T V misc

## -- A --

as_list_of | 'list_of' S3 class for homogenous lists

## -- D --

data_frame | Construct a data frame
df_cast | Coercion between two data frames
df_list | Collect columns for data frame construction
df_ptype2 | Coercion between two data frames

## -- F --

faq-compatibility-types | FAQ - How is the compatibility of vector types decided?
faq-error-incompatible-attributes | FAQ - Error/Warning: Some attributes are incompatible
faq-error-scalar-type | FAQ - Error: Input must be a vector

## -- H --

howto-faq-coercion | FAQ - How to implement ptype2 and cast methods?
howto-faq-coercion-data-frame | FAQ - How to implement ptype2 and cast methods? (Data frames)
howto-faq-fix-scalar-type-error | FAQ - Why isn't my class treated as a vector?

## -- I --

internal-faq-matches-algorithm | Internal FAQ - Implementation of 'vec_locate_matches()'
internal-faq-ptype2-identity | Internal FAQ - 'vec_ptype2()', 'NULL', and unspecified vectors
is_list_of | 'list_of' S3 class for homogenous lists

## -- L --

list_all_size | List checks
list_all_vectors | List checks
list_check_all_size | List checks
list_check_all_vectors | List checks
list_drop_empty | Drop empty elements from a list
list_of | 'list_of' S3 class for homogenous lists
list_sizes | Number of observations
list_unchop | Chopping

## -- M --

missing | Missing values

## -- N --

name_spec | Name specifications
new_data_frame | Assemble attributes for data frame construction

## -- O --

obj_check_list | List checks
obj_check_vector | Vector checks
obj_is_list | List checks
obj_is_vector | Vector checks

## -- R --

reference-faq-compatibility | FAQ - Is my class compatible with vctrs?
runs | Runs

## -- T --

theory-faq-coercion | FAQ - How does coercion work in vctrs?
theory-faq-recycling | FAQ - How does recycling work in vctrs and the tidyverse?
tib_cast | Coercion between two data frames
tib_ptype2 | Coercion between two data frames

## -- V --

vec-rep | Repeat a vector
vec-set | Set operations
vector-checks | Vector checks
vector_recycling_rules | FAQ - How does recycling work in vctrs and the tidyverse?
vec_any_missing | Missing values
vec_as_names | Retrieve and repair names
vec_bind | Combine many data frames into one data frame
vec_c | Combine many vectors into one vector
vec_cast | Cast a vector to a specified type
vec_cast.character | Cast a vector to a specified type
vec_cast.complex | Cast a vector to a specified type
vec_cast.double | Cast a vector to a specified type
vec_cast.integer | Cast a vector to a specified type
vec_cast.list | Cast a vector to a specified type
vec_cast.logical | Cast a vector to a specified type
vec_cast.raw | Cast a vector to a specified type
vec_cast.vctrs_list_of | 'list_of' S3 class for homogenous lists
vec_cast_common | Cast a vector to a specified type
vec_cbind | Combine many data frames into one data frame
vec_check_size | Vector checks
vec_chop | Chopping
vec_compare | Compare two vectors
vec_count | Count unique values in a vector
vec_detect_complete | Complete
vec_detect_missing | Missing values
vec_duplicate | Find duplicated values
vec_duplicate_any | Find duplicated values
vec_duplicate_detect | Find duplicated values
vec_duplicate_id | Find duplicated values
vec_equal | Equality
vec_expand_grid | Create a data frame from all combinations of the inputs
vec_fill_missing | Fill in missing values with the previous or following value
vec_identify_runs | Runs
vec_in | Find matching observations across vectors
vec_init | Initialize a vector
vec_init_along | Useful sequences
vec_interleave | Interleave many vectors into one vector
vec_is_empty | Number of observations
vec_locate_matches | Locate observations matching specified conditions
vec_match | Find matching observations across vectors
vec_names | Get or set the names of a vector
vec_names2 | Get or set the names of a vector
vec_order | Order and sort vectors
vec_ptype | Find the prototype of a set of vectors
vec_ptype2 | Find the common type for a pair of vectors
vec_ptype2.character | Find the common type for a pair of vectors
vec_ptype2.complex | Find the common type for a pair of vectors
vec_ptype2.double | Find the common type for a pair of vectors
vec_ptype2.integer | Find the common type for a pair of vectors
vec_ptype2.list | Find the common type for a pair of vectors
vec_ptype2.logical | Find the common type for a pair of vectors
vec_ptype2.raw | Find the common type for a pair of vectors
vec_ptype2.vctrs_list_of | 'list_of' S3 class for homogenous lists
vec_ptype_common | Find the prototype of a set of vectors
vec_ptype_show | Find the prototype of a set of vectors
vec_rank | Compute ranks
vec_rbind | Combine many data frames into one data frame
vec_recycle | Vector recycling
vec_recycle_common | Vector recycling
vec_rep | Repeat a vector
vec_rep_each | Repeat a vector
vec_run_sizes | Runs
vec_seq_along | Useful sequences
vec_set_difference | Set operations
vec_set_intersect | Set operations
vec_set_names | Get or set the names of a vector
vec_set_symmetric_difference | Set operations
vec_set_union | Set operations
vec_size | Number of observations
vec_size_common | Number of observations
vec_sort | Order and sort vectors
vec_split | Split a vector into groups
vec_unique | Find and count unique values
vec_unique_count | Find and count unique values
vec_unique_loc | Find and count unique values
vec_unrep | Repeat a vector

## -- misc --

%0% | Default value for empty vectors