vec_as_index() has been renamed to vec_as_location() and is
deprecated as of vctrs 0.2.2.
Arguments
- i
An index vector to convert.
- n
A single integer representing the total size of the object that
iis meant to index into.- names
If
iis a character vector,namesshould be a character vector thatiwill be matched against to construct the index. Otherwise, not used. The default value ofNULLwill result in an error ifiis a character vector.
