summaryrefslogtreecommitdiffstats
path: root/src/arrow/r/man/type.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'src/arrow/r/man/type.Rd')
-rw-r--r--src/arrow/r/man/type.Rd27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/arrow/r/man/type.Rd b/src/arrow/r/man/type.Rd
new file mode 100644
index 000000000..d55bbe24b
--- /dev/null
+++ b/src/arrow/r/man/type.Rd
@@ -0,0 +1,27 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/type.R
+\name{type}
+\alias{type}
+\title{infer the arrow Array type from an R vector}
+\usage{
+type(x)
+}
+\arguments{
+\item{x}{an R vector}
+}
+\value{
+an arrow logical type
+}
+\description{
+infer the arrow Array type from an R vector
+}
+\examples{
+\dontshow{if (arrow_available()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
+type(1:10)
+type(1L:10L)
+type(c(1, 1.5, 2))
+type(c("A", "B", "C"))
+type(mtcars)
+type(Sys.Date())
+\dontshow{\}) # examplesIf}
+}