typeSvec {SQLiteDF} | R Documentation |
Get Type of sqlite.vector
Description
Returns the class of an sqlite.vector if it were
Usage
typeSvec(x)
has.typeSvec(x, type)
Arguments
x |
an sqlite.vector |
type |
a string containing the class name, like numeric, factor, character |
Value
typeSvec |
returns a string with the class name of the argument |
has.typeSvec |
returns TRUE if x is a sqlite.vector and has type as returned by typeSvec |
Author(s)
Miguel A. R. Manese
Examples
iris.sdf <- sqlite.data.frame(iris)
typeSvec(iris.sdf[,1]) # numeric
has.typeSvec(iris.sdf[,1], "numeric") # TRUE
[Package
SQLiteDF version 0.1.32
Index]