Vector Helpers


[Up] [Top]

Documentation for package ‘vctrs’ version 0.3.7

Help Pages

%0% Default value for empty vectors
as_list_of 'list_of' S3 class for homogenous lists
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
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
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?
internal-faq-ptype2-identity Internal FAQ - 'vec_ptype2()', 'NULL', and unspecified vectors
is_list_of 'list_of' S3 class for homogenous lists
list_of 'list_of' S3 class for homogenous lists
list_sizes Number of observations
name_spec Name specifications
new_data_frame Assemble attributes for data frame construction
reference-faq-compatibility FAQ - Is my class compatible with vctrs?
theory-faq-coercion FAQ - How does coercion work in vctrs?
tib_cast Coercion between two data frames
tib_ptype2 Coercion between two data frames
validate_list_of 'list_of' S3 class for homogenous lists
vec-rep Repeat a vector
vec_assert Assert an argument has known prototype and/or size
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_chop Chopping
vec_compare Compare two vectors
vec_count Count unique values in a vector
vec_detect_complete Complete
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 Test if two vectors are equal
vec_equal_na Test if two vectors are equal
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_is Assert an argument has known prototype and/or size
vec_is_empty Number of observations
vec_is_list Is the object a list?
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_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_seq_along Useful sequences
vec_set_names Get or set the names of a vector
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_unchop Chopping
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