| sdflm2 {SQLiteDF} | R Documentation |
biglm specialized for SQLite Data Frames
sdflm2(x, y, intercept = TRUE)
x |
a SQLite data frame containing the design matrix which may not include the intercept |
y |
a SQLite vector containing the observed response |
intercept |
if TRUE, adds an intercept term when doing computation |
Algorithm is identical with biglm. The only difference is that the rows of x
and the values of y are directly fed to the algorithm.
Returns a subclass of biglm. biglm methods can be used with the
output, e.g. compute coefficients, vcov, etc.
Miguel A. R. Manese
Algorithm AS274 Applied Statistics (1992) Vol.41, No. 2
library(biglm)
iris.sdf <- sqlite.data.frame(iris)
x <- iris.sdf[,1:3]
y <- iris.sdf[,4]
iris.biglm <- sdflm2(x, y)
summary(iris.biglm)