strip: strip: strip regressions

Description Usage Arguments Details Value

View source: R/strip.R

Description

Strip regression objects to reduce memory needs

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
strip(object, ...)

## S3 method for class 'glm'
strip(object, ...)

## S3 method for class 'oglmx'
strip(object, ...)

## S3 method for class 'negbin'
strip(object, ...)

## S3 method for class 'lm'
strip(object, ...)

## S3 method for class 'zeroinfl'
strip(object, ...)

## S3 method for class 'fastnegbin'
strip(object, ...)

## S3 method for class 'fastzeroinfl'
strip(object, ...)

## S3 method for class 'summary.glm'
strip(object, ...)

## S3 method for class 'summary.lm'
strip(object, ...)

## S3 method for class 'summary.zeroinfl'
strip(object, ...)

Arguments

object

A regression object or summary. Accepted classes are glm or zeroinfl

...

Additional arguments that should be considered

Details

Remove elements that are more related to prediction than model to reduce memory needs to store a glm output

Value

Initial object stripped from heavy elements. Initial class is returned with a new one indicating the object has been stripped.


linogaliana/tablelight documentation built on Jan. 29, 2021, 10:30 a.m.