Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bigglm.ffdf

Bounded memory linear regression


Description

bigglm.ffdf creates a generalized linear model object that uses only p^2 memory for p variables. It uses the biglm package and is a simple wrapper to allow to work with an ffdf as input data. Make sure that package is loaded.

Usage

bigglm.ffdf(formula, data, family = gaussian(), ..., chunksize = 5000)

Arguments

formula

a model formula

data

an object of class ffdf

family

A glm family object

...

other parameters passed on to bigglm. See the biglm package: biglm

chunksize

Size of chunks for processing the ffdf

Value

An object of class bigglm. See the bigglm package for a description: bigglm

See Also

Examples

## Not run: 
  
library(biglm)
library(ff)

data(trees)
x <- as.ffdf(trees)
a <- bigglm(log(Volume)~log(Girth)+log(Height), 
            data=x, chunksize=10, sandwich=TRUE)
summary(a)

b <- bigglm(log(Volume)~log(Girth)+log(Height)+offset(2*log(Girth)+log(Height)),
            data=x, chunksize=10, sandwich=TRUE)
summary(b)


## End(Not run)

ffbase

Basic Statistical Functions for Package 'ff'

v0.13.3
GPL-3
Authors
Edwin de Jonge, Jan Wijffels, Jan van der Laan
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.