sdflm                package:SQLiteDF                R Documentation

_L_i_n_e_a_r _M_o_d_e_l_s _O_n _S_Q_L_i_t_e _D_a_t_a _F_r_a_m_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Currently, a convenience wrapper around biglm. In the future,
     biglm functionalities will be implemented directly inside the
     package.

_U_s_a_g_e:

     sdflm(formula, sdf, batch.size = 1024)

_A_r_g_u_m_e_n_t_s:

 formula: model formula

     sdf: the sqlite.data.frame 

batch.size: number of rows at a time to be _fed_ to biglm 

_D_e_t_a_i_l_s:

     biglm can computes the linear model coefficients and statistics
     incrementally by _feeding_ it with part of the data first at a
     time. 'sdflm' just gets data from the SDF into a plain data frame,
     'batch.size' at a time, and then used with 'biglm'. to 

     Currently, models using only those variables inside the SDF are
     supported (i.e. do not use variables that is not in the SDF, like
     those in the global environment).

_V_a_l_u_e:

     An object of class biglm.

_A_u_t_h_o_r(_s):

     Miguel A. R. Manese

_S_e_e _A_l_s_o:

     'biglm'

_E_x_a_m_p_l_e_s:

     library(biglm)
     iris.sdf <- sqlite.data.frame(iris)
     iris.lm <- sdflm(Sepal.Length ~ Species, iris.sdf)
     summary(iris.lm)

