Learn R Programming

vectra (version 0.6.2)

pull: Extract a single column as a vector

Description

Extract a single column as a vector

Usage

pull(.data, var = -1)

Value

A vector.

Arguments

.data

A vectra_node object.

var

Column name (unquoted) or positive integer position.

Examples

Run this code
f <- tempfile(fileext = ".vtr")
write_vtr(mtcars, f)
tbl(f) |> pull(mpg) |> head()
unlink(f)

Run the code above in your browser using DataLab