Learn R Programming

stringfish (version 0.19.2)

sf_vector_create: sf_vector_create

Description

Creates a new empty stringfish vector

Usage

sf_vector_create(len)

Value

A new stringfish vector

Arguments

len

length of the new vector

Details

This function creates a new empty `sf_vec`-backed stringfish vector. If you want to fill the vector from character data, use `convert_to_sf_vector`.

Examples

Run this code
x <- sf_vector_create(4)

Run the code above in your browser using DataLab