sdflm2 {SQLiteDF}R Documentation

Linear Models on SQLite Data Frames

Description

biglm specialized for SQLite Data Frames

Usage

sdflm2(x, y, intercept = TRUE)

Arguments

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

Details

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.

Value

Returns a subclass of biglm. biglm methods can be used with the output, e.g. compute coefficients, vcov, etc.

Author(s)

Miguel A. R. Manese

References

Algorithm AS274 Applied Statistics (1992) Vol.41, No. 2

See Also

biglm

Examples

    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)

[Package SQLiteDF version 0.1.32 Index]