type {arrow}R Documentation

infer the arrow Array type from an R vector

Description

infer the arrow Array type from an R vector

Usage

type(x)

Arguments

x

an R vector

Value

an arrow logical type

Examples


type(1:10)
type(1L:10L)
type(c(1, 1.5, 2))
type(c("A", "B", "C"))
type(mtcars)
type(Sys.Date())


[Package arrow version 6.0.1 Index]