| 3808 |
mrmanese |
1 |
\name{sqlite.vector}
|
|
|
2 |
\alias{sqlite.vector}
|
|
|
3 |
\title{ SQLite Vector }
|
|
|
4 |
\description{
|
|
|
5 |
Creates a SQLite Matrix (SVEC) from atomic vectors.
|
|
|
6 |
}
|
|
|
7 |
\usage{
|
|
|
8 |
sqlite.vector(vec, name = NULL)
|
|
|
9 |
}
|
|
|
10 |
\arguments{
|
|
|
11 |
\item{vec}{ an atomic vector }
|
|
|
12 |
\item{name}{ name of the SQLite Data Frame created which will hold the vector }
|
|
|
13 |
}
|
|
|
14 |
\details{
|
|
|
15 |
Creates an SDF with 1 column named V1 which will hold the data of the vector.
|
|
|
16 |
The \emph{mode} of the SQLite vector is determined from data.
|
|
|
17 |
}
|
|
|
18 |
\value{
|
|
|
19 |
A S3 object representing the SQLite Vector.
|
|
|
20 |
}
|
|
|
21 |
\author{Miguel A. R. Manese}
|
|
|
22 |
\note{ SQLite vectors are not limited to columns of the table \code{sdf_data}.
|
|
|
23 |
For example, with SQLite matrices the row names are exposed as SQLite vectors
|
|
|
24 |
on columns of a table other than \code{sdf_data}. }
|
|
|
25 |
\seealso{\code{\link[SQLiteDF]{sqlite.matrix}}
|
|
|
26 |
\code{\link[SQLiteDF]{sqlite.data.frame}}}
|
|
|
27 |
\examples{
|
|
|
28 |
data <- runif(30000)
|
|
|
29 |
summary(data)
|
|
|
30 |
}
|
|
|
31 |
\keyword{data}
|
|
|
32 |
\keyword{manip}
|
|
|
33 |
\keyword{classes}
|